public interface HClientPool extends PoolMetric
| Modifier and Type | Method and Description |
|---|---|
HClient |
borrowClient() |
CassandraHost |
getCassandraHost() |
int |
getMaxActive() |
int |
getNumBeforeExhausted() |
String |
getStatusAsString() |
boolean |
isExhausted() |
void |
releaseClient(HClient client) |
void |
shutdown() |
getExhaustedTime, getIsActive, getName, getNumActive, getNumBlockedThreads, getNumIdleHClient borrowClient() throws HectorException
HectorExceptionCassandraHost getCassandraHost()
int getNumBeforeExhausted()
boolean isExhausted()
int getMaxActive()
String getStatusAsString()
void releaseClient(HClient client) throws HectorException
HectorExceptionvoid shutdown()
Copyright © 2014. All Rights Reserved.