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 | Method and Description |
---|---|
ConnectorHandler<E> |
EndpointKey.getConnectorHandler()
Returns a customized
ConnectorHandler , which will be used to
create Connection s to this endpoint. |
Modifier and Type | Method and Description |
---|---|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.connectorHandler(ConnectorHandler<E> connectorHandler)
Sets the
ConnectorHandler used to establish new Connection s. |
MultiEndpointPool.Builder<E> |
MultiEndpointPool.Builder.connectorHandler(ConnectorHandler<E> defaultConnectorHandler)
Sets the default
ConnectorHandler to be used to establish new
Connection s if none is specified by EndpointKey . |
Constructor and Description |
---|
EndpointKey(Object internalKey,
E endpoint,
ConnectorHandler<E> connectorHandler)
Construct EndpointKey based on the given internalKey, endpoint, and
ConnectorHandler . |
EndpointKey(Object internalKey,
E endpoint,
E localEndpoint,
ConnectorHandler<E> connectorHandler) |
MultiEndpointPool(ConnectorHandler<E> defaultConnectorHandler,
int maxConnectionsPerEndpoint,
int maxConnectionsTotal,
DelayedExecutor delayedExecutor,
long connectTimeoutMillis,
long keepAliveTimeoutMillis,
long keepAliveCheckIntervalMillis,
long reconnectDelayMillis,
int maxReconnectAttempts)
Constructs MultiEndpointPool instance.
|
SingleEndpointPool(ConnectorHandler<E> connectorHandler,
E endpointAddress,
E localEndpointAddress,
int corePoolSize,
int maxPoolSize,
DelayedExecutor.DelayQueue<SingleEndpointPool.ConnectTimeoutTask> connectTimeoutQueue,
DelayedExecutor.DelayQueue<SingleEndpointPool.ReconnectTask> reconnectQueue,
DelayedExecutor.DelayQueue<SingleEndpointPool.KeepAliveCleanerTask> keepAliveCleanerQueue,
long connectTimeoutMillis,
long keepAliveTimeoutMillis,
long keepAliveCheckIntervalMillis,
long reconnectDelayMillis,
int maxReconnectAttempts)
Constructs SingleEndpointPool instance.
|
SingleEndpointPool(ConnectorHandler<E> connectorHandler,
E endpointAddress,
E localEndpointAddress,
int corePoolSize,
int maxPoolSize,
DelayedExecutor delayedExecutor,
long connectTimeoutMillis,
long keepAliveTimeoutMillis,
long keepAliveCheckIntervalMillis,
long reconnectDelayMillis,
int maxReconnectAttempts)
Constructs SingleEndpointPool instance.
|
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 © 2014 Oracle Corporation. All rights reserved.