Class FixedReconnectionPolicy
Represents a reconnection policy that is possible to specify custom reconnection delays for each attempt.
Inheritance
System.Object
FixedReconnectionPolicy
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 FixedReconnectionPolicy : IReconnectionPolicy
Constructors
FixedReconnectionPolicy(Int64[])
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 |
---|---|---|
System.Int64[] | delays |
Properties
Delays
Gets a copy of the provided Dse.FixedReconnectionPolicy._delays array.
Declaration
public long[] Delays { get; }
Property Value
Type | Description |
---|---|
System.Int64[] |
Methods
NewSchedule()
Declaration
public IReconnectionSchedule NewSchedule()
Returns
Type | Description |
---|---|
IReconnectionSchedule |