Interface ProxyConnectionPoolConfig
-
- All Known Subinterfaces:
ConnectionPoolManager
- All Known Implementing Classes:
LoadBalancingProxyClient.Host
public interface ProxyConnectionPoolConfig- Author:
- Emanuel Muckenhuber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxCachedConnections()Get the maximum number of cached (idle) connections per thread.intgetMaxConnections()Get the maximum number of connections per thread.intgetMaxQueueSize()Get the maximum number of requests which can be queued if there are no connections available.intgetSMaxConnections()Get number of cached connections above which are closed after the time to live.longgetTtl()Get the time to live for idle connections.
-
-
-
Method Detail
-
getMaxConnections
int getMaxConnections()
Get the maximum number of connections per thread.- Returns:
-
getMaxCachedConnections
int getMaxCachedConnections()
Get the maximum number of cached (idle) connections per thread.- Returns:
-
getSMaxConnections
int getSMaxConnections()
Get number of cached connections above which are closed after the time to live.- Returns:
-
getTtl
long getTtl()
Get the time to live for idle connections.- Returns:
-
getMaxQueueSize
int getMaxQueueSize()
Get the maximum number of requests which can be queued if there are no connections available.- Returns:
-
-