|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Cluster | |
---|---|
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 Cluster in com.datastax.driver.core |
---|
Methods in com.datastax.driver.core that return Cluster | |
---|---|
Cluster |
Cluster.Builder.build()
Builds the cluster with the configured set of initial contact points and policies. |
static Cluster |
Cluster.buildFrom(Cluster.Initializer initializer)
Build a new cluster based on the provided initializer. |
Cluster |
Session.getCluster()
Returns the Cluster object this session is part of. |
Cluster |
Cluster.init()
Initialize this Cluster instance. |
Cluster |
Cluster.register(Host.StateListener listener)
Registers the provided listener to be notified on hosts up/down/added/removed events. |
Cluster |
Cluster.register(LatencyTracker tracker)
Registers the provided tracker to be updated with hosts read latencies. |
Cluster |
Cluster.unregister(Host.StateListener listener)
Unregisters the provided listener from being notified on hosts events. |
Cluster |
Cluster.unregister(LatencyTracker tracker)
Unregisters the provided latency tracking from being updated with host read latencies. |
Uses of Cluster in com.datastax.driver.core.policies |
---|
Methods in com.datastax.driver.core.policies with parameters of type Cluster | |
---|---|
void |
TokenAwarePolicy.init(Cluster cluster,
Collection<Host> hosts)
|
void |
RoundRobinPolicy.init(Cluster cluster,
Collection<Host> hosts)
|
void |
LoadBalancingPolicy.init(Cluster cluster,
Collection<Host> hosts)
Initialize this load balancing policy. |
void |
LatencyAwarePolicy.init(Cluster cluster,
Collection<Host> hosts)
|
void |
DCAwareRoundRobinPolicy.init(Cluster cluster,
Collection<Host> hosts)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |