|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionPoolConfiguration
Method Summary | |
---|---|
BadHostDetector |
getBadHostDetector()
TODO |
int |
getConnectionLimiterMaxPendingCount()
Maximum number of connection attempts in a given window |
int |
getConnectionLimiterWindowSize()
Window size for limiting the number of connection open requests |
int |
getConnectTimeout()
Socket connect timeout |
int |
getInitConnsPerHost()
Initial number of connections created when a connection pool is started |
float |
getLatencyAwareBadnessThreshold()
Return the threshold after which a host will not be considered good enough for executing operations. |
int |
getLatencyAwareResetInterval()
|
float |
getLatencyAwareSentinelCompare()
Sentinel compare value for Phi Accrual |
int |
getLatencyAwareUpdateInterval()
|
int |
getLatencyAwareWindowSize()
Latency samples window size for scoring algorithm |
LatencyScoreStrategy |
getLatencyScoreStrategy()
TODO |
int |
getMaxBlockedThreadsPerHost()
Get max number of blocked clients for a host. |
int |
getMaxConns()
Maximum number of connections in the pool, not used by all connection pool implementations |
int |
getMaxConnsPerHost()
Maximum number of connections to allocate for a single host's pool |
int |
getMaxFailoverCount()
Get the max number of failover attempts |
int |
getMaxOperationsPerConnection()
Maximum allowed operations per connections before forcing the connection to close |
int |
getMaxPendingConnectionsPerHost()
Maximum number of pending connect attempts per host |
int |
getMaxTimeoutCount()
Number of allowed timeouts within getTimeoutWindow() milliseconds |
int |
getMaxTimeoutWhenExhausted()
Maximum amount of time to wait for a connection to free up when a connection pool is exhausted. |
String |
getName()
Unique name assigned to this connection pool |
int |
getPort()
Data port to be used when no port is specified to a list of seeds or when doing a ring describe since the ring describe does not include a host |
RetryBackoffStrategy |
getRetryBackoffStrategy()
Return the backoff strategy to use. |
int |
getRetryDelaySlice()
TODO |
int |
getRetryMaxDelaySlice()
TODO |
int |
getRetrySuspendWindow()
TODO |
List<Host> |
getSeedHosts()
Return a list of Host objects from the list of seeds returned by getSeeds(). |
String |
getSeeds()
List of comma delimited host:port combinations. |
int |
getSocketTimeout()
Socket read/write timeout |
int |
getTimeoutWindow()
Shut down a host if it times out too many time within this window |
Method Detail |
---|
LatencyScoreStrategy getLatencyScoreStrategy()
BadHostDetector getBadHostDetector()
int getPort()
String getName()
int getMaxConnsPerHost()
int getInitConnsPerHost()
int getMaxConns()
int getMaxTimeoutWhenExhausted()
int getMaxFailoverCount()
RetryBackoffStrategy getRetryBackoffStrategy()
RetryBackoffStrategy
String getSeeds()
List<Host> getSeedHosts()
int getSocketTimeout()
int getConnectTimeout()
int getConnectionLimiterWindowSize()
int getConnectionLimiterMaxPendingCount()
int getLatencyAwareWindowSize()
float getLatencyAwareSentinelCompare()
float getLatencyAwareBadnessThreshold()
int getLatencyAwareUpdateInterval()
int getLatencyAwareResetInterval()
int getMaxPendingConnectionsPerHost()
int getMaxBlockedThreadsPerHost()
int getTimeoutWindow()
int getMaxTimeoutCount()
int getRetrySuspendWindow()
int getRetryMaxDelaySlice()
int getRetryDelaySlice()
int getMaxOperationsPerConnection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |