Package | Description |
---|---|
org.glassfish.grizzly.connectionpool |
Modifier and Type | Field and Description |
---|---|
protected Map<EndpointKey<E>,SingleEndpointPool<E>> |
MultiEndpointPool.endpointToPoolMap
Maps endpoint -to- SingleEndpointPool
|
Modifier and Type | Method and Description |
---|---|
boolean |
MultiEndpointPool.attach(EndpointKey<E> endpointKey,
Connection connection)
Attaches "foreign"
Connection to the pool. |
void |
MultiEndpointPool.close(EndpointKey<E> endpointKey)
Closes specific endpoint associated pool and releases its resources.
|
protected SingleEndpointPool<E> |
MultiEndpointPool.createSingleEndpointPool(EndpointKey<E> endpointKey)
Creates
SingleEndpointPool instance. |
protected SingleEndpointPool<E> |
MultiEndpointPool.obtainSingleEndpointPool(EndpointKey<E> endpointKey)
Obtains
SingleEndpointPool associated with the specific endpoint
represented by EndpointKey . |
GrizzlyFuture<Connection> |
MultiEndpointPool.take(EndpointKey<E> endpointKey)
Obtains a
Connection to the specified endpoint from the pool in
non-blocking/asynchronous fashion. |
void |
MultiEndpointPool.take(EndpointKey<E> endpointKey,
CompletionHandler<Connection> completionHandler)
Obtains a
Connection to the specified endpoint from the pool
in non-blocking/asynchronous fashion. |
Copyright © 2014 Oracle Corporation. All rights reserved.