Package | Description |
---|---|
org.glassfish.grizzly.connectionpool |
Modifier and Type | Method and Description |
---|---|
ConnectionInfo<E> |
SingleEndpointPool.getConnectionInfo(Connection connection)
Returns pooled
ConnectionInfo , that might be used for monitoring
reasons, or null if the Connection does not belong to
this pool. |
ConnectionInfo<E> |
MultiEndpointPool.getConnectionInfo(Connection connection)
Returns pooled
ConnectionInfo , that might be used for monitoring
reasons, or null if the Connection does not belong to
this pool. |
Modifier and Type | Method and Description |
---|---|
boolean |
SingleEndpointPool.ConnectionTTLWorker.doWork(ConnectionInfo ci) |
long |
SingleEndpointPool.ConnectionTTLTaskResolver.getTimeoutMillis(ConnectionInfo ci) |
boolean |
SingleEndpointPool.ConnectionTTLTaskResolver.removeTimeout(ConnectionInfo ci) |
void |
SingleEndpointPool.ConnectionTTLTaskResolver.setTimeoutMillis(ConnectionInfo ci,
long timeoutMillis) |
Constructor and Description |
---|
SingleEndpointPool(Endpoint<E> endpoint,
int corePoolSize,
int maxPoolSize,
DelayedExecutor.DelayQueue<SingleEndpointPool.ConnectTimeoutTask> connectTimeoutQueue,
DelayedExecutor.DelayQueue<SingleEndpointPool.ReconnectTask> reconnectQueue,
DelayedExecutor.DelayQueue<SingleEndpointPool.KeepAliveCleanerTask> keepAliveCleanerQueue,
DelayedExecutor.DelayQueue<Link<SingleEndpointPool.AsyncPoll>> asyncPollTimeoutQueue,
DelayedExecutor.DelayQueue<ConnectionInfo> connectionTTLQueue,
long connectTimeoutMillis,
long keepAliveTimeoutMillis,
long keepAliveCheckIntervalMillis,
long reconnectDelayMillis,
int maxReconnectAttempts,
long asyncPollTimeoutMillis,
long connectionTTLMillis,
boolean failFastWhenMaxSizeReached)
Constructs SingleEndpointPool instance.
|
Copyright © 2017 Oracle Corporation. All rights reserved.