Uses of Class
org.glassfish.grizzly.connectionpool.Endpoint
-
-
Uses of Endpoint in org.glassfish.grizzly.connectionpool
Subclasses of Endpoint in org.glassfish.grizzly.connectionpool Modifier and Type Class Description classEndpointKey<E>SimpleEndpointimplementation.Fields in org.glassfish.grizzly.connectionpool declared as Endpoint Modifier and Type Field Description protected Endpoint<E>SingleEndpointPool.Builder. endpointThe endpoint informationFields in org.glassfish.grizzly.connectionpool with type parameters of type Endpoint Modifier and Type Field Description protected Map<Endpoint<E>,SingleEndpointPool<E>>MultiEndpointPool. endpointToPoolMapMaps endpoint -to- SingleEndpointPoolMethods in org.glassfish.grizzly.connectionpool that return Endpoint Modifier and Type Method Description static <E> Endpoint<E>Endpoint.Factory. create(E targetAddress, E localAddress, org.glassfish.grizzly.ConnectorHandler<E> connectorHandler)static <E> Endpoint<E>Endpoint.Factory. create(E targetAddress, org.glassfish.grizzly.ConnectorHandler<E> connectorHandler)static <E> Endpoint<E>Endpoint.Factory. create(Object id, E targetAddress, E localAddress, org.glassfish.grizzly.ConnectorHandler<E> connectorHandler)Endpoint<E>SingleEndpointPool. getEndpoint()Methods in org.glassfish.grizzly.connectionpool with parameters of type Endpoint Modifier and Type Method Description booleanMultiEndpointPool. attach(Endpoint<E> endpoint, org.glassfish.grizzly.Connection connection)Attaches "foreign"Connectionto the pool.SingleEndpointPool<E>MultiEndpointPool.EndpointPoolBuilder. build0(Endpoint<E> e)protected SingleEndpointPool<E>SingleEndpointPool.Builder. build0(Endpoint<E> e)voidMultiEndpointPool. close(Endpoint<E> endpoint)Closes specific endpoint associated pool and releases its resources.protected SingleEndpointPool<E>MultiEndpointPool. createSingleEndpointPool(Endpoint<E> endpoint)CreatesSingleEndpointPoolinstance.voidMultiEndpointPool.EndpointPoolCustomizer. customize(Endpoint<E> endpoint, MultiEndpointPool.EndpointPoolBuilder<E> builder)SingleEndpointPool.Builder<E>SingleEndpointPool.Builder. endpoint(Endpoint<E> endpoint)Sets the endpoint information.protected SingleEndpointPool<E>MultiEndpointPool. obtainSingleEndpointPool(Endpoint<E> endpoint)ObtainsSingleEndpointPoolassociated with the specific endpoint represented byEndpoint.org.glassfish.grizzly.ConnectionMultiEndpointPool. poll(Endpoint<E> endpoint)org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.Connection>MultiEndpointPool. take(Endpoint<E> endpoint)Obtains aConnectionto the specified endpoint from the pool in non-blocking/asynchronous fashion.voidMultiEndpointPool. take(Endpoint<E> endpoint, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.Connection> completionHandler)Obtains aConnectionto the specified endpoint from the pool in non-blocking/asynchronous fashion.Constructors in org.glassfish.grizzly.connectionpool with parameters of type Endpoint Constructor Description Builder(Endpoint<E> endpoint, org.glassfish.grizzly.ConnectorHandler<E> connectorHandler, E endpointAddress, E localEndpointAddress, int corePoolSize, int maxPoolSize, org.glassfish.grizzly.utils.DelayedExecutor delayedExecutor, long connectTimeoutMillis, long reconnectDelayMillis, int maxReconnectAttempts, long asyncPollTimeoutMillis, long connectionTTLMillis, boolean failFastWhenMaxSizeReached, long keepAliveTimeoutMillis, long keepAliveCheckIntervalMillis)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.SingleEndpointPool(Endpoint<E> endpoint, int corePoolSize, int maxPoolSize, org.glassfish.grizzly.utils.DelayedExecutor delayedExecutor, long connectTimeoutMillis, long keepAliveTimeoutMillis, long keepAliveCheckIntervalMillis, long reconnectDelayMillis, int maxReconnectAttempts, long asyncPollTimeoutMillis, long connectionTTLMillis, boolean failFastWhenMaxSizeReached)Constructs SingleEndpointPool instance.
-