A B C D E G H I K L M O P R S T 

A

attach(EndpointKey<E>, Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Attaches "foreign" Connection to the pool.
attach(Connection) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Attaches "foreign" Connection to 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.
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.

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 IOException if the pool has been closed.
close(EndpointKey<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Closes specific endpoint associated pool and releases its resources.
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.
connectFuture - Variable in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutTask
 
ConnectionInfo<E> - Class in org.glassfish.grizzly.connectionpool
Pooled Connection information, that might be used for monitoring reasons.
connectorHandler(ConnectorHandler<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
Sets the default ConnectorHandler to be used to establish new Connections if none is specified by EndpointKey.
connectorHandler(ConnectorHandler<E>) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
Sets the ConnectorHandler used to establish new Connections.
connectTimeout(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
Sets the max time Connection connect operation may take.
connectTimeout(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
Sets the max time Connection connect operation may take.
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.
createConnectionIfPossible() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Checks if it's possible to create a new Connection by calling SingleEndpointPool.checkBeforeOpeningConnection() and if it is possible - establish new connection.
createSingleEndpointPool(EndpointKey<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Creates SingleEndpointPool instance.

D

delayExecutor(DelayedExecutor) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
Sets the custom DelayedExecutor to be used for keep-alive and reconnect mechanisms.
delayExecutor(DelayedExecutor) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
Sets the custom DelayedExecutor to be used for keep-alive and reconnect mechanisms.
detach(Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Detaches a Connection from the pool.
detach(Connection) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Detaches a Connection from the pool.
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

endpointAddress(E) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
Sets the endpoint address.
EndpointKey<E> - Class in org.glassfish.grizzly.connectionpool
The key object representing single endpoint in the MultiEndpointPool.
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, ConnectorHandler<E>) - Constructor for class org.glassfish.grizzly.connectionpool.EndpointKey
Construct EndpointKey based on the given internalKey, endpoint, and ConnectorHandler.
EndpointKey(Object, E, E, ConnectorHandler<E>) - Constructor for class org.glassfish.grizzly.connectionpool.EndpointKey
 
endpointToPoolMap - Variable in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Maps endpoint -to- SingleEndpointPool
equals(Object) - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
 

G

getConnectionInfo(Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Returns pooled ConnectionInfo, that might be used for monitoring reasons, or null if the Connection does 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 the Connection does not belong to this pool.
getConnectorHandler() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
Returns a customized ConnectorHandler, which will be used to create Connections to this endpoint.
getEndpoint() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
Returns the endpoint address, used by a ConnectorHandler passed to MultiEndpointPool to establish new client-side Connection
getInternalKey() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
Returns the internal key used in EndpointKey.equals(java.lang.Object) and EndpointKey.hashCode() methods
getLocalEndpoint() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
 
getOpenConnectionsCount() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Returns the number of connected Connections in the pool.
getOpenConnectionsCount() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Returns the number of connected Connections in the pool.
getPooledTimeStamp() - Method in class org.glassfish.grizzly.connectionpool.ConnectionInfo
Returns the timestamp (in milliseconds) when this Connection was added to the pool: either created directly by pool or attached.
getReadyConnectionsCount() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Returns the number of Connections ready to be retrieved and used.
getReadyTimeStamp() - Method in class org.glassfish.grizzly.connectionpool.ConnectionInfo
Returns the timestamp (in milliseconds) when this Connection was returned to the pool and its state switched to ready, or -1 if the Connection is currently in busy state.
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
 

H

hashCode() - Method in class org.glassfish.grizzly.connectionpool.EndpointKey
 

I

isBusy(Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Returns true only if the Connection is 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 Connection is registered in the pool and is currently in busy state (used by a user), otherwise returns false.
isMaxCapacityReached() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Returns true is maximum number of Connections the pool can keep is reached and no new Connection can established, or false otherwise.
isMaxCapacityReached() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Returns true is maximum number of Connections the pool can keep is reached and no new Connection can established, or false otherwise.
isReady() - Method in class org.glassfish.grizzly.connectionpool.ConnectionInfo
Returns true if the Connection is in ready state, waiting for a user to pull it out from the pool.
isRegistered(Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Returns true if the Connection is registered in the pool no matter if it's currently in busy or ready state, or false if the Connection is not registered in the pool.
isRegistered(Connection) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Returns true if the Connection is registered in the pool no matter if it's currently in busy or ready state, or false if the Connection is 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.
keepAliveTimeout(long, TimeUnit) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
Sets the maximum number of milliseconds an idle Connection will 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 Connection will be kept in the pool.

L

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(int) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
Sets the max number of Connections kept by this pool.
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 Connection pool implementation where each endpoint sub-pool is represented by SingleEndpointPool and referenced by an EndpointKey.
MultiEndpointPool(ConnectorHandler<E>, int, int, DelayedExecutor, long, long, long, long, int) - Constructor for class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Constructs MultiEndpointPool instance.
MultiEndpointPool.Builder<E> - Class in org.glassfish.grizzly.connectionpool
The Builder class responsible for constructing SingleEndpointPool.
MultiEndpointPool.Builder() - Constructor for class org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder
 

O

obtainSingleEndpointPool(EndpointKey<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Obtains SingleEndpointPool associated with the specific endpoint represented by EndpointKey.
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
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.
release(Connection) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Returns the Connection to the pool.
release(Connection) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Returns the Connection to the pool.
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(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 Connection pool implementation, in other words this pool manages Connections to one specific endpoint.
SingleEndpointPool(ConnectorHandler<E>, E, E, int, int, DelayedExecutor, long, long, long, long, int) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Constructs SingleEndpointPool instance.
SingleEndpointPool(ConnectorHandler<E>, E, E, int, int, DelayedExecutor.DelayQueue<SingleEndpointPool.ConnectTimeoutTask>, DelayedExecutor.DelayQueue<SingleEndpointPool.ReconnectTask>, DelayedExecutor.DelayQueue<SingleEndpointPool.KeepAliveCleanerTask>, long, long, long, long, int) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Constructs SingleEndpointPool instance.
SingleEndpointPool.Builder<E> - Class in org.glassfish.grizzly.connectionpool
The Builder class responsible for constructing SingleEndpointPool.
SingleEndpointPool.Builder() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Builder
 
SingleEndpointPool.ConnectTimeoutTask - Class in org.glassfish.grizzly.connectionpool
 
SingleEndpointPool.ConnectTimeoutTask(GrizzlyFuture<Connection>) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutTask
 
SingleEndpointPool.ConnectTimeoutTaskResolver - Class in org.glassfish.grizzly.connectionpool
 
SingleEndpointPool.ConnectTimeoutTaskResolver() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutTaskResolver
 
SingleEndpointPool.ConnectTimeoutWorker - Class in org.glassfish.grizzly.connectionpool
Connect timeout mechanism classes related to DelayedExecutor.
SingleEndpointPool.ConnectTimeoutWorker() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ConnectTimeoutWorker
 
SingleEndpointPool.KeepAliveCleaner - Class in org.glassfish.grizzly.connectionpool
Keep-alive mechanism classes related to DelayedExecutor.
SingleEndpointPool.KeepAliveCleaner() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleaner
 
SingleEndpointPool.KeepAliveCleanerTask<E> - Class in org.glassfish.grizzly.connectionpool
 
SingleEndpointPool.KeepAliveCleanerTask(SingleEndpointPool<E>) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleanerTask
 
SingleEndpointPool.KeepAliveCleanerTaskResolver - Class in org.glassfish.grizzly.connectionpool
 
SingleEndpointPool.KeepAliveCleanerTaskResolver() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.KeepAliveCleanerTaskResolver
 
SingleEndpointPool.Reconnector - Class in org.glassfish.grizzly.connectionpool
Reconnect mechanism classes related to DelayedExecutor.
SingleEndpointPool.Reconnector() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.Reconnector
 
SingleEndpointPool.ReconnectTask<E> - Class in org.glassfish.grizzly.connectionpool
 
SingleEndpointPool.ReconnectTask(SingleEndpointPool<E>) - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ReconnectTask
 
SingleEndpointPool.ReconnectTaskResolver - Class in org.glassfish.grizzly.connectionpool
 
SingleEndpointPool.ReconnectTaskResolver() - Constructor for class org.glassfish.grizzly.connectionpool.SingleEndpointPool.ReconnectTaskResolver
 
size() - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Returns the current pool size.
size() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Returns the current pool size.

T

take(EndpointKey<E>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Obtains a Connection to the specified endpoint from the pool in non-blocking/asynchronous fashion.
take(EndpointKey<E>, CompletionHandler<Connection>) - Method in class org.glassfish.grizzly.connectionpool.MultiEndpointPool
Obtains a Connection to the specified endpoint from the pool in non-blocking/asynchronous fashion.
take() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Obtains a Connection from the pool in non-blocking/asynchronous fashion.
take(CompletionHandler<Connection>) - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
Obtains a Connection 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.MultiEndpointPool
 
toString() - Method in class org.glassfish.grizzly.connectionpool.SingleEndpointPool
 
A B C D E G H I K L M O P R S T 

Copyright © 2013 Oracle Corporation. All Rights Reserved.