SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.asyncPollTimeout(long asyncPollTimeout,
TimeUnit timeunit) |
Sets the max time consumer will wait for a Connection to become available.
|
static <T> SingleEndpointPool.Builder<T> |
SingleEndpointPool.builder(Class<T> endpointType) |
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.connectionTTL(long connectionTTL,
TimeUnit timeunit) |
Sets the max amount of time a Connection could be associated with the pool.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.connectorHandler(org.glassfish.grizzly.ConnectorHandler<E> connectorHandler) |
Sets the ConnectorHandler used to establish new Connections.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.connectTimeout(long connectTimeout,
TimeUnit timeunit) |
Sets the max time Connection connect operation may take.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.corePoolSize(int corePoolSize) |
Sets the number of Connections, kept in the pool, that are immune to keep-alive mechanism.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.delayExecutor(org.glassfish.grizzly.utils.DelayedExecutor delayedExecutor) |
Sets the custom DelayedExecutor to be used for keep-alive and reconnect mechanisms.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.endpoint(Endpoint<E> endpoint) |
Sets the endpoint information.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.endpointAddress(E endpointAddress) |
Sets the endpoint address.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.failFastWhenMaxSizeReached(boolean failFastWhenMaxSizeReached) |
if true, the "take" method will fail fast if there is no free connection in the pool and max pool size is
reached.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.keepAliveCheckInterval(long keepAliveCheckInterval,
TimeUnit timeunit) |
Sets the interval, which specifies how often the pool will perform idle Connections check.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.keepAliveTimeout(long keepAliveTimeout,
TimeUnit timeunit) |
Sets the maximum number of milliseconds an idle Connection will be kept in the pool.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.localEndpointAddress(E localEndpointAddress) |
Sets the local endpoint address.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.maxPoolSize(int maxPoolSize) |
Sets the max number of Connections kept by this pool.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.maxReconnectAttempts(int maxReconnectAttempts) |
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.
|
SingleEndpointPool.Builder<E> |
SingleEndpointPool.Builder.reconnectDelay(long reconnectDelay,
TimeUnit timeunit) |
Sets the delay to be used before the pool will repeat the attempt to connect to the endpoint after previous connect
operation had failed.
|