Class FixedReconnectionPolicy
Represents a reconnection policy that is possible to specify custom reconnection delays for each attempt.
Inheritance
object
FixedReconnectionPolicy
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 FixedReconnectionPolicy : IReconnectionPolicy
Constructors
FixedReconnectionPolicy(params long[])
Creates a new instance of a reconnection policy for which is possible to specify custom reconnection delays for each attempt.
The last delay provided will be used for the rest of the attempts.
Declaration
public FixedReconnectionPolicy(params long[] delays)
Parameters
Type | Name | Description |
---|---|---|
long[] | delays |
Properties
Delays
Gets a copy of the provided Cassandra.FixedReconnectionPolicy._delays array.
Declaration
public long[] Delays { get; }
Property Value
Type | Description |
---|---|
long[] |
Methods
NewSchedule()
Declaration
public IReconnectionSchedule NewSchedule()
Returns
Type | Description |
---|---|
IReconnectionSchedule |