| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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 |
DCAwareRoundRobinPolicy.init(Cluster cluster,
Collection<Host> hosts) |
Copyright © 2013. All Rights Reserved.