Package me.prettyprint.cassandra.connection

Interface Summary
ConnectionManagerListener Listener for the status of CassandraHosts in order to use it - simply implement it and apply your own actions on the events Use HConnectionManager.addListener(String, ConnectionManagerListener) You can also extend the empty implementation ConnectionManagerEmptyListener if you only need some of the events
HClientPool  
HOpTimer Timer For Cassandra operations
LoadBalancingPolicy Default interface for all load balancing policies.
PoolMetric  
 

Class Summary
BackgroundCassandraHostService  
CassandraHostRetryService  
ConcurrentHClientPool  
ConnectionManagerEmptyListener an Empty implementation of ConnectionManagerListener can be extended if you need only some of the events
ConnectionManagerListenersHandler This class handles all the ConnectionManagerListener listeners
DynamicLoadBalancingPolicy This LB Algorithm has the Phi algo which Dynamic snitch uses, LB is based on the probablity of failure of the node.
HConnectionManager  
HostTimeoutTracker Keep track of how often a node replies with a HTimeoutException.
LatencyAwareHClientPool This class provides a queue function of latencies over CHCP, collecting all the latency information and calculates the score (expensive operation).
LeastActiveBalancingPolicy Selects the least active host based on the number of active connections.
MetricsOpTimer  
NodeAutoDiscoverService  
NodeDiscovery  
NullOpTimer  
RoundRobinBalancingPolicy Implements a RoundRobin balancing policy based off the contents of the active HClientPool.
SpeedForJOpTimer  
 



Copyright © 2013. All Rights Reserved.