Policies Class |
Namespace: Cassandra
public class Policies
The Policies type exposes the following members.
Name | Description | |
---|---|---|
![]() | Policies | Initializes a new instance of the Policies class |
![]() | Policies(ILoadBalancingPolicy, IReconnectionPolicy, IRetryPolicy) |
Creates a new Policies object using the provided policies.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | DefaultLoadBalancingPolicy |
The default load balancing policy.
The default load balancing policy is TokenAwarePolicy with DCAwareRoundRobinPolicy as child policy. |
![]() ![]() | DefaultPolicies | |
![]() ![]() | DefaultReconnectionPolicy |
The default reconnection policy. The default reconnection policy is an ExponentialReconnectionPolicy where the base delay is 1 second and the max delay is 10 minutes; |
![]() ![]() | DefaultRetryPolicy |
The default retry policy. The default retry policy is DefaultRetryPolicy. |
![]() ![]() | DefaultSpeculativeExecutionPolicy |
The ISpeculativeExecutionPolicy to be used by default.
The default is NoSpeculativeExecutionPolicy. |
![]() | LoadBalancingPolicy |
Gets the load balancing policy in use. The load balancing policy defines how Cassandra hosts are picked for queries. |
![]() | ReconnectionPolicy |
Gets the reconnection policy in use. The reconnection policy defines how often the driver tries to reconnect to a dead node. |
![]() | RetryPolicy |
Gets the retry policy in use. The retry policy defines in which conditions a query should be automatically retries by the driver. |
![]() | SpeculativeExecutionPolicy |
Gets the SpeculativeExecutionPolicy in use.
|