|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Cluster.Builder | |
|---|---|
| com.datastax.driver.core | The main package for the DataStax Java driver for Cassandra. |
| Uses of Cluster.Builder in com.datastax.driver.core |
|---|
| Methods in com.datastax.driver.core that return Cluster.Builder | |
|---|---|
Cluster.Builder |
Cluster.Builder.addContactPoint(String address)
Adds a contact point. |
Cluster.Builder |
Cluster.Builder.addContactPoints(InetAddress... addresses)
Add contact points. |
Cluster.Builder |
Cluster.Builder.addContactPoints(String... addresses)
Add contact points. |
static Cluster.Builder |
Cluster.builder()
Creates a new Cluster.Builder instance. |
Cluster.Builder |
Cluster.Builder.withAuthInfoProvider(AuthInfoProvider authInfoProvider)
Use the provided AuthInfoProvider to connect to Cassandra hosts. |
Cluster.Builder |
Cluster.Builder.withCompression(ProtocolOptions.Compression compression)
Sets the compression to use for the transport. |
Cluster.Builder |
Cluster.Builder.withLoadBalancingPolicy(LoadBalancingPolicy policy)
Configure the load balancing policy to use for the new cluster. |
Cluster.Builder |
Cluster.Builder.withoutMetrics()
Disable metrics collection for the created cluster (metrics are enabled by default otherwise). |
Cluster.Builder |
Cluster.Builder.withPort(int port)
The port to use to connect to the Cassandra host. |
Cluster.Builder |
Cluster.Builder.withReconnectionPolicy(ReconnectionPolicy policy)
Configure the reconnection policy to use for the new cluster. |
Cluster.Builder |
Cluster.Builder.withRetryPolicy(RetryPolicy policy)
Configure the retry policy to use for the new cluster. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||