public final class LoadBalancingProxyClient.Host extends ConnectionPoolErrorHandler.SimpleConnectionPoolErrorHandler implements ConnectionPoolManager
ConnectionPoolErrorHandler.CountingErrorHandler, ConnectionPoolErrorHandler.SimpleConnectionPoolErrorHandler
Modifier and Type | Method and Description |
---|---|
int | getMaxCachedConnections() Get the maximum number of cached (idle) connections per thread. |
int | getMaxConnections() Get the maximum number of connections per thread. |
int | getMaxQueueSize() Get the maximum number of requests which can be queued if there are no connections available. |
int | getProblemServerRetry() |
int | getSMaxConnections() Get number of cached connections above which are closed after the time to live. |
long | getTtl() Get the time to live for idle connections. |
URI | getUri() |
clearError, handleError, isAvailable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearError, handleError, isAvailable
public int getProblemServerRetry()
getProblemServerRetry
in interface ConnectionPoolManager
public int getMaxConnections()
ProxyConnectionPoolConfig
getMaxConnections
in interface ProxyConnectionPoolConfig
public int getMaxCachedConnections()
ProxyConnectionPoolConfig
getMaxCachedConnections
in interface ProxyConnectionPoolConfig
public int getSMaxConnections()
ProxyConnectionPoolConfig
getSMaxConnections
in interface ProxyConnectionPoolConfig
public long getTtl()
ProxyConnectionPoolConfig
getTtl
in interface ProxyConnectionPoolConfig
public int getMaxQueueSize()
ProxyConnectionPoolConfig
getMaxQueueSize
in interface ProxyConnectionPoolConfig
public URI getUri()
Copyright © 2015 JBoss by Red Hat. All rights reserved.