me.prettyprint.cassandra.connection
Interface HClientPool
- All Superinterfaces:
- PoolMetric
- All Known Implementing Classes:
- ConcurrentHClientPool, LatencyAwareHClientPool
public interface HClientPool
- extends PoolMetric
borrowClient
HThriftClient borrowClient()
throws HectorException
- Throws:
HectorException
getCassandraHost
CassandraHost getCassandraHost()
getNumBeforeExhausted
int getNumBeforeExhausted()
isExhausted
boolean isExhausted()
getMaxActive
int getMaxActive()
getStatusAsString
String getStatusAsString()
releaseClient
void releaseClient(HThriftClient client)
throws HectorException
- Throws:
HectorException
shutdown
void shutdown()
Copyright © 2011. All Rights Reserved.