Package | Description |
---|---|
org.glassfish.grizzly | |
org.glassfish.grizzly.connectionpool | |
org.glassfish.grizzly.nio | |
org.glassfish.grizzly.nio.transport |
Modifier and Type | Interface and Description |
---|---|
interface |
SocketConnectorHandler
Socket based client side connector.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSocketConnectorHandler
Abstract class simplifies the implementation of
SocketConnectorHandler
interface by pre-implementing some of its methods. |
Modifier and Type | Field and Description |
---|---|
protected ConnectorHandler<E> |
SingleEndpointPool.Builder.connectorHandler
ConnectorHandler used to establish new Connection s |
Modifier and Type | Method and Description |
---|---|
ConnectorHandler<E> |
EndpointKey.getConnectorHandler() |
Modifier and Type | Method and Description |
---|---|
MultiEndpointPool.Builder<E> |
MultiEndpointPool.Builder.connectorHandler(ConnectorHandler<E> defaultConnectorHandler)
Deprecated.
Endpoint must always know how to establish the connection |
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.connectorHandler(ConnectorHandler<E> connectorHandler)
Sets the
ConnectorHandler used to establish new Connection s. |
static <E> Endpoint<E> |
Endpoint.Factory.create(E targetAddress,
ConnectorHandler<E> connectorHandler) |
static <E> Endpoint<E> |
Endpoint.Factory.create(E targetAddress,
E localAddress,
ConnectorHandler<E> connectorHandler) |
static <E> Endpoint<E> |
Endpoint.Factory.create(Object id,
E targetAddress,
E localAddress,
ConnectorHandler<E> connectorHandler) |
Constructor and Description |
---|
Builder(Endpoint<E> endpoint,
ConnectorHandler<E> connectorHandler,
E endpointAddress,
E localEndpointAddress,
int corePoolSize,
int maxPoolSize,
DelayedExecutor delayedExecutor,
long connectTimeoutMillis,
long reconnectDelayMillis,
int maxReconnectAttempts,
long asyncPollTimeoutMillis,
long connectionTTLMillis,
boolean failFastWhenMaxSizeReached,
long keepAliveTimeoutMillis,
long keepAliveCheckIntervalMillis) |
EndpointKey(Object internalKey,
E endpointAddress,
ConnectorHandler<E> connectorHandler)
Construct EndpointKey based on the given internalKey, endpoint, and
ConnectorHandler . |
EndpointKey(Object internalKey,
E endpointAddress,
E localEndpointAddress,
ConnectorHandler<E> connectorHandler) |
MultiEndpointPool(ConnectorHandler<E> defaultConnectorHandler,
int maxConnectionsPerEndpoint,
int maxConnectionsTotal,
DelayedExecutor delayedExecutor,
long connectTimeoutMillis,
long keepAliveTimeoutMillis,
long keepAliveCheckIntervalMillis,
long reconnectDelayMillis,
int maxReconnectAttempts,
long asyncPollTimeoutMillis,
long connectionTTLMillis,
boolean failFastWhenMaxSizeReached,
MultiEndpointPool.EndpointPoolCustomizer<E> endpointPoolCustomizer)
Deprecated.
defaultConnectorHandler is deprecated
|
Modifier and Type | Class and Description |
---|---|
class |
NIOTransport |
Modifier and Type | Class and Description |
---|---|
class |
TCPNIOConnectorHandler
TCP NIO transport client side ConnectorHandler implementation
|
class |
TCPNIOTransport
TCP Transport NIO implementation
|
class |
UDPNIOConnectorHandler
UDP NIO transport client side ConnectorHandler implementation
|
class |
UDPNIOTransport
UDP NIO transport implementation
|
protected class |
UDPNIOTransport.TransportConnectorHandler
Transport default
UDPNIOConnectorHandler . |
Copyright © 2018 Oracle Corporation. All rights reserved.