Policies MembersA C# client driver for Apache Cassandra

The Policies type exposes the following members.

Public methodPolicies 
Initializes a new instance of the Policies class
Public methodPolicies(ILoadBalancingPolicy, IReconnectionPolicy, IRetryPolicy)
Creates a new object using the provided policies.
Back to Top

Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top

Public fieldStatic memberDefaultLoadBalancingPolicy
The default load balancing policy.

The default load balancing policy is RoundRobinPolicy.

Public fieldStatic memberDefaultPolicies
Public fieldStatic memberDefaultReconnectionPolicy
The default reconnection policy.

The default reconnetion policy is an ExponentialReconnectionPolicy where the base delay is 1 second and the max delay is 10 minutes;

Public fieldStatic memberDefaultRetryPolicy
The default retry policy.

The default retry policy is DefaultRetryPolicy.

Back to Top

Public propertyLoadBalancingPolicy
Gets the load balancing policy in use.

The load balancing policy defines how Cassandra hosts are picked for queries.

Public propertyReconnectionPolicy
Gets the reconnection policy in use.

The reconnection policy defines how often the driver tries to reconnect to a dead node.

Public propertyRetryPolicy
Gets the retry policy in use.

The retry policy defines in which conditions a query should be automatically retries by the driver.

Back to Top
See Also