| Modifier and Type | Method and Description |
|---|---|
ConnectionInfo<E> |
SingleEndpointPool.getConnectionInfo(org.glassfish.grizzly.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(org.glassfish.grizzly.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,
org.glassfish.grizzly.utils.DelayedExecutor.DelayQueue<SingleEndpointPool.ConnectTimeoutTask> connectTimeoutQueue,
org.glassfish.grizzly.utils.DelayedExecutor.DelayQueue<SingleEndpointPool.ReconnectTask> reconnectQueue,
org.glassfish.grizzly.utils.DelayedExecutor.DelayQueue<SingleEndpointPool.KeepAliveCleanerTask> keepAliveCleanerQueue,
org.glassfish.grizzly.utils.DelayedExecutor.DelayQueue<Link<SingleEndpointPool.AsyncPoll>> asyncPollTimeoutQueue,
org.glassfish.grizzly.utils.DelayedExecutor.DelayQueue<ConnectionInfo> connectionTTLQueue,
long connectTimeoutMillis,
long keepAliveTimeoutMillis,
long keepAliveCheckIntervalMillis,
long reconnectDelayMillis,
int maxReconnectAttempts,
long asyncPollTimeoutMillis,
long connectionTTLMillis,
boolean failFastWhenMaxSizeReached)
Constructs SingleEndpointPool instance.
|
Copyright © 2018 Oracle Corporation. All Rights Reserved.