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