|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Host.StateListener | |
---|---|
com.datastax.driver.core | The main package for the DataStax Java driver for Cassandra. |
com.datastax.driver.core.policies | Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra. |
Uses of Host.StateListener in com.datastax.driver.core |
---|
Methods in com.datastax.driver.core that return types with arguments of type Host.StateListener | |
---|---|
Collection<Host.StateListener> |
Cluster.Initializer.getInitialListeners()
Optional listeners to register against the newly created cluster. |
Collection<Host.StateListener> |
Cluster.Builder.getInitialListeners()
|
Methods in com.datastax.driver.core with parameters of type Host.StateListener | |
---|---|
Cluster |
Cluster.register(Host.StateListener listener)
Registers the provided listener to be notified on hosts up/down/added/removed events. |
Cluster |
Cluster.unregister(Host.StateListener listener)
Unregisters the provided listener from being notified on hosts events. |
Method parameters in com.datastax.driver.core with type arguments of type Host.StateListener | |
---|---|
Cluster.Builder |
Cluster.Builder.withInitialListeners(Collection<Host.StateListener> listeners)
Register the provided listeners in the newly created cluster. |
Uses of Host.StateListener in com.datastax.driver.core.policies |
---|
Subinterfaces of Host.StateListener in com.datastax.driver.core.policies | |
---|---|
interface |
LoadBalancingPolicy
The policy that decides which Cassandra hosts to contact for each new query. |
Classes in com.datastax.driver.core.policies that implement Host.StateListener | |
---|---|
class |
DCAwareRoundRobinPolicy
A data-center aware Round-robin load balancing policy. |
class |
LatencyAwarePolicy
A wrapper load balancing policy that adds latency awareness to a child policy. |
class |
RoundRobinPolicy
A Round-robin load balancing policy. |
class |
TokenAwarePolicy
A wrapper load balancing policy that add token awareness to a child policy. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |