Package | Description |
---|---|
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 |
---|---|
static Policies.Builder |
Policies.builder()
Returns a builder to create a new
Policies object. |
Policies.Builder |
Policies.Builder.withAddressTranslator(AddressTranslator addressTranslator)
Sets the address translator.
|
Policies.Builder |
Policies.Builder.withEndPointFactory(EndPointFactory endPointFactory) |
Policies.Builder |
Policies.Builder.withLoadBalancingPolicy(LoadBalancingPolicy loadBalancingPolicy)
Sets the load balancing policy.
|
Policies.Builder |
Policies.Builder.withReconnectionPolicy(ReconnectionPolicy reconnectionPolicy)
Sets the reconnection policy.
|
Policies.Builder |
Policies.Builder.withRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy.
|
Policies.Builder |
Policies.Builder.withSpeculativeExecutionPolicy(SpeculativeExecutionPolicy speculativeExecutionPolicy)
Sets the speculative execution policy.
|
Policies.Builder |
Policies.Builder.withTimestampGenerator(TimestampGenerator timestampGenerator)
Sets the timestamp generator.
|
Copyright © 2012–2023. All rights reserved.