Class RetryLoadBalancingPolicy
Inheritance
System.Object
RetryLoadBalancingPolicy
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dse
Assembly: Dse.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 |
---|---|
System.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 |
---|---|---|
System.String | keyspace | |
IStatement | query |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Host> |