Index
All Classes and Interfaces|All Packages
A
- AsyncPoll(SingleEndpointPool) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.AsyncPoll
- asyncPollTimeout(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Sets the max time consumer will wait for a
Connectionto become available. - asyncPollTimeout(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the max time consumer will wait for a
Connectionto become available. - asyncPollTimeoutMillis - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Async poll timeout, after which, the async connection poll operation will be failed with a timeout exception
- attach(Connection) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Attaches "foreign"
Connectionto the pool. - attach(Endpoint<E>, Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Attaches "foreign"
Connectionto the pool.
B
- build() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Constructs
MultiEndpointPool. - build() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Constructs
SingleEndpointPool. - build0(Endpoint<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.EndpointPoolBuilder
- build0(Endpoint<E>) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
- builder(Class<T>) - Static method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Returns single endpoint pool
MultiEndpointPool.Builder. - builder(Class<T>) - Static method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Returns single endpoint pool
SingleEndpointPool.Builder. - Builder() - Constructor for class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
- Builder() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
- Builder(Endpoint<E>, ConnectorHandler<E>, E, E, int, int, DelayedExecutor, long, long, int, long, long, boolean, long, long) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
C
- checkBeforeOpeningConnection() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
The method is called before the pool will try to establish new client connection.
- checkNotClosed() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Method throws
IOExceptionif the pool has been closed. - close() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Closes the pool and releases associated resources.
- close() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Closes the pool and release associated resources.
- close(Endpoint<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Closes specific endpoint associated pool and releases its resources.
- connect() - Method in class org.glassfish.grizzly.connectionpool.Endpoint
- connect() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
- connect(CompletionHandler<Connection>) - Method in class org.glassfish.grizzly.connectionpool.Endpoint
- connect(CompletionHandler<Connection>) - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
- connectFuture - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutTask
- ConnectionInfo<E> - Class in org.glassfish.grizzly.connectionpool
-
Pooled
Connectioninformation, that might be used for monitoring reasons. - connectionTTL(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Sets the max amount of time a
Connectioncould be associated with the pool. - connectionTTL(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the max amount of time a
Connectioncould be associated with the pool. - connectionTTLMillis - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
the maximum amount of time, a
Connectioncould stay registered with the pool Once timeout is hit - the connection will be either closed, if it's idle, or detached from the pool, if it's being used. - ConnectionTTLTaskResolver() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectionTTLTaskResolver
- ConnectionTTLWorker() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectionTTLWorker
- connectorHandler - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
ConnectorHandlerused to establish newConnections - connectorHandler(ConnectorHandler<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Deprecated.
- connectorHandler(ConnectorHandler<E>) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the
ConnectorHandlerused to establish newConnections. - connectTimeout(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Sets the max time
Connectionconnect operation may take. - connectTimeout(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the max time
Connectionconnect operation may take. - connectTimeoutMillis - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Connect timeout, after which, if a connection is not established, it is considered failed
- ConnectTimeoutTask(GrizzlyFuture<Connection>) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutTask
- ConnectTimeoutTaskResolver() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutTaskResolver
- ConnectTimeoutWorker() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutWorker
- corePoolSize - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
The number of
Connections, kept in the pool, that are immune to keep-alive mechanism - corePoolSize(int) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the number of
Connections, kept in the pool, that are immune to keep-alive mechanism. - create(E, E, ConnectorHandler<E>) - Static method in class org.glassfish.grizzly.connectionpool.Endpoint.Factory
- create(E, ConnectorHandler<E>) - Static method in class org.glassfish.grizzly.connectionpool.Endpoint.Factory
- create(Object, E, E, ConnectorHandler<E>) - Static method in class org.glassfish.grizzly.connectionpool.Endpoint.Factory
- createConnectionIfPossible() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Checks if it's possible to create a new
Connectionby callingSingleEndpointPool.checkBeforeOpeningConnection()and if it is possible - establish new connection. - createSingleEndpointPool(Endpoint<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Creates
SingleEndpointPoolinstance. - customize(Endpoint<E>, MultiEndpointPool.EndpointPoolBuilder<E>) - Method in interface org.glassfish.grizzly.connectionpool.MultiEndpointPool.EndpointPoolCustomizer
D
- delayedExecutor - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
the
DelayedExecutorto be used for keep-alive and reconnect mechanisms - delayExecutor(DelayedExecutor) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Sets the custom
DelayedExecutorto be used for keep-alive and reconnect mechanisms. - delayExecutor(DelayedExecutor) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the custom
DelayedExecutorto be used for keep-alive and reconnect mechanisms. - detach(Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Detaches a
Connectionfrom the pool. - detach(Connection) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Detaches a
Connectionfrom the pool. - doWork(ConnectionInfo) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectionTTLWorker
- doWork(SingleEndpointPool.ConnectTimeoutTask) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutWorker
- doWork(SingleEndpointPool.KeepAliveCleanerTask) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleaner
- doWork(SingleEndpointPool.ReconnectTask) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Reconnector
E
- endpoint - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
The endpoint information
- endpoint(Endpoint<E>) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the endpoint information.
- Endpoint<E> - Class in org.glassfish.grizzly.connectionpool
-
The abstract class, which describes a pool endpoint and has a method, which creates new
Connectionto the endpoint. - Endpoint() - Constructor for class org.glassfish.grizzly.connectionpool.Endpoint
- Endpoint.Factory - Class in org.glassfish.grizzly.connectionpool
-
Convenient Endpoint factory for cases, when user has a
ConnectorHandlerand endpoint address. - endpointAddress - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Endpoint address
- endpointAddress(E) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the endpoint address.
- EndpointKey<E> - Class in org.glassfish.grizzly.connectionpool
-
Simple
Endpointimplementation. - EndpointKey(Object, E) - Constructor for class org.glassfish.grizzly.connectionpool.EndpointKey
-
Construct EndpointKey based on the given internalKey and endpoint.
- EndpointKey(Object, E, E) - Constructor for class org.glassfish.grizzly.connectionpool.EndpointKey
-
Construct EndpointKey based on the given internalKey, endpoint, and local endpoint.
- EndpointKey(Object, E, E, ConnectorHandler<E>) - Constructor for class org.glassfish.grizzly.connectionpool.EndpointKey
- EndpointKey(Object, E, ConnectorHandler<E>) - Constructor for class org.glassfish.grizzly.connectionpool.EndpointKey
-
Construct EndpointKey based on the given internalKey, endpoint, and
ConnectorHandler. - endpointPoolCustomizer(MultiEndpointPool.EndpointPoolCustomizer<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Set the customizer, which will be used to modify a specific endpoint pool settings and overwrite the default settings assigned by this MultiEndpointPool.
- endpointToPoolMap - Variable in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Maps endpoint -to- SingleEndpointPool
- equals(Object) - Method in class org.glassfish.grizzly.connectionpool.Endpoint
F
- Factory() - Constructor for class org.glassfish.grizzly.connectionpool.Endpoint.Factory
- failFastWhenMaxSizeReached - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
if true, the "take" method will fail fast if there is no free connection in the pool and max pool size is reached.
- failFastWhenMaxSizeReached(boolean) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
if true, the "take" method will fail fast if there is no free connection in the pool and max pool size is reached.
- failFastWhenMaxSizeReached(boolean) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
if true, the "take" method will fail fast if there is no free connection in the pool and max pool size is reached.
G
- getAsyncPollTimeout(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- getAsyncPollTimeout(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- getAttachmentTimeStamp() - Method in class org.glassfish.grizzly.connectionpool.Link
- getConnectionInfo(Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Returns pooled
ConnectionInfo, that might be used for monitoring reasons, or null if theConnectiondoes not belong to this pool. - getConnectionInfo(Connection) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Returns pooled
ConnectionInfo, that might be used for monitoring reasons, or null if theConnectiondoes not belong to this pool. - getConnectionTTL(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Return the maximum amount of time, a
Connectioncould be associated with the pool. - getConnectionTTL(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Return the maximum amount of time, a
Connectioncould be associated with the pool. - getConnectorHandler() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
- getConnectTimeout(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- getConnectTimeout(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- getCorePoolSize() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- getEndpoint() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
- getEndpoint() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- getId() - Method in class org.glassfish.grizzly.connectionpool.Endpoint
- getId() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
- getInternalKey() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
- getKeepAliveCheckInterval(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- getKeepAliveCheckInterval(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- getKeepAliveTimeout(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Returns the maximum amount of time an idle
Connectionwill be kept in the pool. - getKeepAliveTimeout(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Returns the maximum amount of time an idle
Connectionwill be kept in the pool. - getLocalEndpoint() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
- getMaxConnectionsPerEndpoint() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- getMaxConnectionsTotal() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- getMaxPoolSize() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- getMaxReconnectAttempts() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- getMaxReconnectAttempts() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- getOpenConnectionsCount() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- getOpenConnectionsCount() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- getPooledTimeStamp() - Method in class org.glassfish.grizzly.connectionpool.ConnectionInfo
- getReadyConnectionsCount() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- getReadyTimeStamp() - Method in class org.glassfish.grizzly.connectionpool.ConnectionInfo
- getReconnectDelay(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- getReconnectDelay(TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- getTimeoutMillis(ConnectionInfo) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectionTTLTaskResolver
- getTimeoutMillis(SingleEndpointPool.ConnectTimeoutTask) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutTaskResolver
- getTimeoutMillis(SingleEndpointPool.KeepAliveCleanerTask) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleanerTaskResolver
- getTimeoutMillis(SingleEndpointPool.ReconnectTask) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ReconnectTaskResolver
- getValue() - Method in class org.glassfish.grizzly.connectionpool.Link
- getWaitingListSize() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
H
- hashCode() - Method in class org.glassfish.grizzly.connectionpool.Endpoint
I
- isAttached() - Method in class org.glassfish.grizzly.connectionpool.Link
- isBusy(Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Returns true only if the
Connectionis registered in the pool and is currently in busy state (used by a user), otherwise returns false. - isBusy(Connection) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Returns true only if the
Connectionis registered in the pool and is currently in busy state (used by a user), otherwise returns false. - isFailFastWhenMaxSizeReached() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- isFailFastWhenMaxSizeReached() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- isMaxCapacityReached() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- isMaxCapacityReached() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- isReady() - Method in class org.glassfish.grizzly.connectionpool.ConnectionInfo
- isRegistered(Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Returns true if the
Connectionis registered in the pool no matter if it's currently in busy or ready state, or false if theConnectionis not registered in the pool. - isRegistered(Connection) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Returns true if the
Connectionis registered in the pool no matter if it's currently in busy or ready state, or false if theConnectionis not registered in the pool.
K
- keepAliveCheckInterval(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Sets the interval, which specifies how often the pool will perform idle
Connections check. - keepAliveCheckInterval(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the interval, which specifies how often the pool will perform idle
Connections check. - keepAliveCheckIntervalMillis - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
the interval, which specifies how often the pool will perform idle
Connections check - KeepAliveCleaner() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleaner
- KeepAliveCleanerTask(SingleEndpointPool<E>) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleanerTask
- KeepAliveCleanerTaskResolver() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleanerTaskResolver
- keepAliveTimeout(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Sets the maximum number of milliseconds an idle
Connectionwill be kept in the pool. - keepAliveTimeout(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the maximum number of milliseconds an idle
Connectionwill be kept in the pool. - keepAliveTimeoutMillis - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
the maximum number of milliseconds an idle
Connectionwill be kept in the pool.
L
- Link<E> - Class in org.glassfish.grizzly.connectionpool
-
The object represents an element, from which a minimalistic
Chainis built. - Link(E) - Constructor for class org.glassfish.grizzly.connectionpool.Link
-
Construct the Link holding given value object.
- localEndpointAddress - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Local bind address.
- localEndpointAddress(E) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the local endpoint address.
M
- maxConnectionsPerEndpoint(int) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Sets the maximum number of
Connections to a single endpoint the pool is allowed to have. - maxConnectionsTotal(int) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Sets the maximum number of
Connections the pool is allowed to have. - maxPoolSize - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
The max number of
Connections kept by this pool - maxPoolSize - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
The max number of
Connections kept by this pool - maxPoolSize(int) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the max number of
Connections kept by this pool. - maxReconnectAttempts - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Maximum number of attempts that will be made to reconnect before notification of failure occurs.
- maxReconnectAttempts(int) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
If the reconnect mechanism is enabled, then this property will affect how many times a reconnection attempt can be made consecutively before a failure is flagged.
- maxReconnectAttempts(int) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
If the reconnect mechanism is enabled, then this property will affect how many times a reconnection attempt can be made consecutively before a failure is flagged.
- MultiEndpointPool<E> - Class in org.glassfish.grizzly.connectionpool
-
The multi endpoint
Connectionpool implementation where each endpoint sub-pool is represented bySingleEndpointPooland referenced by anEndpoint. - MultiEndpointPool(int, int, DelayedExecutor, long, long, long, long, int, long, long, boolean, MultiEndpointPool.EndpointPoolCustomizer<E>) - Constructor for class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Constructs MultiEndpointPool instance.
- MultiEndpointPool(ConnectorHandler<E>, int, int, DelayedExecutor, long, long, long, long, int, long, long, boolean, MultiEndpointPool.EndpointPoolCustomizer<E>) - Constructor for class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Deprecated.defaultConnectorHandler is deprecated
- MultiEndpointPool.Builder<E> - Class in org.glassfish.grizzly.connectionpool
-
The Builder class responsible for constructing
SingleEndpointPool. - MultiEndpointPool.EndpointPoolBuilder<E> - Class in org.glassfish.grizzly.connectionpool
- MultiEndpointPool.EndpointPoolCustomizer<E> - Interface in org.glassfish.grizzly.connectionpool
-
The customizer, which could be used to modify an endpoint pool setting before it will be created.
O
- obtainSingleEndpointPool(Endpoint<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Obtains
SingleEndpointPoolassociated with the specific endpoint represented byEndpoint. - onConnect(Connection, SingleEndpointPool<E>) - Method in class org.glassfish.grizzly.connectionpool.Endpoint
-
The method is called, once new
Connectionrelated to the Endpoint is established. - org.glassfish.grizzly.connectionpool - package org.glassfish.grizzly.connectionpool
P
- pendingConnections - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Number of connections we're currently trying to establish and waiting for the result
- poll() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
- poll(Endpoint<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- pool - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleanerTask
- pool - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ReconnectTask
- poolSync - Variable in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Sync for endpointToPoolMap updates
R
- reconnectDelay(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
-
Sets the delay to be used before the pool will repeat the attempt to connect to the endpoint after previous connect operation had failed.
- reconnectDelay(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
Sets the delay to be used before the pool will repeat the attempt to connect to the endpoint after previous connect operation had failed.
- reconnectDelayMillis - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
-
the delay to be used before the pool will repeat the attempt to connect to the endpoint after previous connect had failed
- Reconnector() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Reconnector
- ReconnectTask(SingleEndpointPool<E>) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ReconnectTask
- ReconnectTaskResolver() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ReconnectTaskResolver
- release(Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Returns the
Connectionto the pool. - release(Connection) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Returns the
Connectionto the pool. - removeTimeout(ConnectionInfo) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectionTTLTaskResolver
- removeTimeout(SingleEndpointPool.ConnectTimeoutTask) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutTaskResolver
- removeTimeout(SingleEndpointPool.KeepAliveCleanerTask) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleanerTaskResolver
- removeTimeout(SingleEndpointPool.ReconnectTask) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ReconnectTaskResolver
S
- setTimeoutMillis(ConnectionInfo, long) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectionTTLTaskResolver
- setTimeoutMillis(SingleEndpointPool.ConnectTimeoutTask, long) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutTaskResolver
- setTimeoutMillis(SingleEndpointPool.KeepAliveCleanerTask, long) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleanerTaskResolver
- setTimeoutMillis(SingleEndpointPool.ReconnectTask, long) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ReconnectTaskResolver
- SingleEndpointPool<E> - Class in org.glassfish.grizzly.connectionpool
-
The single endpoint
Connectionpool implementation, in other words this pool managesConnections to one specific endpoint. - SingleEndpointPool(Endpoint<E>, int, int, DelayedExecutor.DelayQueue<SingleEndpointPool.ConnectTimeoutTask>, DelayedExecutor.DelayQueue<SingleEndpointPool.ReconnectTask>, DelayedExecutor.DelayQueue<SingleEndpointPool.KeepAliveCleanerTask>, DelayedExecutor.DelayQueue<Link<SingleEndpointPool.AsyncPoll>>, DelayedExecutor.DelayQueue<ConnectionInfo>, long, long, long, long, int, long, long, boolean) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Constructs SingleEndpointPool instance.
- SingleEndpointPool(Endpoint<E>, int, int, DelayedExecutor, long, long, long, long, int, long, long, boolean) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Constructs SingleEndpointPool instance.
- SingleEndpointPool.AsyncPoll - Class in org.glassfish.grizzly.connectionpool
- SingleEndpointPool.Builder<E> - Class in org.glassfish.grizzly.connectionpool
-
The Builder class responsible for constructing
SingleEndpointPool. - SingleEndpointPool.ConnectionTTLTaskResolver - Class in org.glassfish.grizzly.connectionpool
- SingleEndpointPool.ConnectionTTLWorker - Class in org.glassfish.grizzly.connectionpool
-
Connect timeout mechanism classes related to DelayedExecutor.
- SingleEndpointPool.ConnectTimeoutTask - Class in org.glassfish.grizzly.connectionpool
- SingleEndpointPool.ConnectTimeoutTaskResolver - Class in org.glassfish.grizzly.connectionpool
- SingleEndpointPool.ConnectTimeoutWorker - Class in org.glassfish.grizzly.connectionpool
-
Connect timeout mechanism classes related to DelayedExecutor.
- SingleEndpointPool.KeepAliveCleaner - Class in org.glassfish.grizzly.connectionpool
-
Keep-alive mechanism classes related to DelayedExecutor.
- SingleEndpointPool.KeepAliveCleanerTask<E> - Class in org.glassfish.grizzly.connectionpool
- SingleEndpointPool.KeepAliveCleanerTaskResolver - Class in org.glassfish.grizzly.connectionpool
- SingleEndpointPool.Reconnector - Class in org.glassfish.grizzly.connectionpool
-
Reconnect mechanism classes related to DelayedExecutor.
- SingleEndpointPool.ReconnectTask<E> - Class in org.glassfish.grizzly.connectionpool
- SingleEndpointPool.ReconnectTaskResolver - Class in org.glassfish.grizzly.connectionpool
- size() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- size() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Returns the current pool size.
T
- take() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Obtains a
Connectionfrom the pool in non-blocking/asynchronous fashion. - take(CompletionHandler<Connection>) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
-
Obtains a
Connectionfrom the pool in non-blocking/asynchronous fashion. - take(Endpoint<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Obtains a
Connectionto the specified endpoint from the pool in non-blocking/asynchronous fashion. - take(Endpoint<E>, CompletionHandler<Connection>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
-
Obtains a
Connectionto the specified endpoint from the pool in non-blocking/asynchronous fashion. - timeout - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutTask
- timeout - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ReconnectTask
- timeoutMillis - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleanerTask
- toString() - Method in class org.glassfish.grizzly.connectionpool.ConnectionInfo
- toString() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
- toString() - Method in class org.glassfish.grizzly.connectionpool.Link
- toString() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
- toString() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
All Classes and Interfaces|All Packages
Endpointmust always know how to establish the connection