Class ConstantReconnectionPolicy
A reconnection policy that waits a constant time between each reconnection attempt.
Inheritance
System.Object
ConstantReconnectionPolicy
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 ConstantReconnectionPolicy : IReconnectionPolicy
Constructors
ConstantReconnectionPolicy(Int64)
Creates a reconnection policy that creates with the provided constant wait time between reconnection attempts.
Declaration
public ConstantReconnectionPolicy(long constantDelayMs)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | constantDelayMs | the constant delay in milliseconds to use. |
Properties
ConstantDelayMs
Gets the constant delay used by this reconnection policy.
Declaration
public long ConstantDelayMs { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
NewSchedule()
A new schedule that uses a constant ConstantDelayMs
delay between reconnection attempt.
Declaration
public IReconnectionSchedule NewSchedule()
Returns
Type | Description |
---|---|
IReconnectionSchedule | the newly created schedule. |