Class RetryLoadBalancingPolicy
Inheritance
object
RetryLoadBalancingPolicy
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public class RetryLoadBalancingPolicy : ILoadBalancingPolicy
Constructors
RetryLoadBalancingPolicy(ILoadBalancingPolicy, IReconnectionPolicy)
Declaration
public RetryLoadBalancingPolicy(ILoadBalancingPolicy loadBalancingPolicy, IReconnectionPolicy reconnectionPolicy)
Parameters
Type | Name | Description |
---|---|---|
ILoadBalancingPolicy | loadBalancingPolicy | |
IReconnectionPolicy | reconnectionPolicy |
Fields
ReconnectionEvent
Declaration
public EventHandler<RetryLoadBalancingPolicyEventArgs> ReconnectionEvent
Field Value
Type | Description |
---|---|
EventHandler<RetryLoadBalancingPolicyEventArgs> |
Properties
LoadBalancingPolicy
Declaration
public ILoadBalancingPolicy LoadBalancingPolicy { get; }
Property Value
Type | Description |
---|---|
ILoadBalancingPolicy |
ReconnectionPolicy
Declaration
public IReconnectionPolicy ReconnectionPolicy { get; }
Property Value
Type | Description |
---|---|
IReconnectionPolicy |
Methods
Distance(Host)
Declaration
public HostDistance Distance(Host host)
Parameters
Type | Name | Description |
---|---|---|
Host | host |
Returns
Type | Description |
---|---|
HostDistance |
Initialize(ICluster)
Declaration
public void Initialize(ICluster cluster)
Parameters
Type | Name | Description |
---|---|---|
ICluster | cluster |
NewQueryPlan(string, IStatement)
Declaration
public IEnumerable<Host> NewQueryPlan(string keyspace, IStatement query)
Parameters
Type | Name | Description |
---|---|---|
string | keyspace | |
IStatement | query |
Returns
Type | Description |
---|---|
IEnumerable<Host> |