Interface IReconnectionPolicy
Policy that decides how often the reconnection to a dead node is attempted.
Each time a node is detected dead (because a connection error occurs), a new
IReconnectionSchedule
instance is created (through the
IReconnectionSchedule
on that
node will be cancelled and a new one will be created (in effect, the driver
reset the scheduler). The default ExponentialReconnectionPolicy
policy is usually adequate.
Namespace: Dse
Assembly: Dse.dll
Syntax
public interface IReconnectionPolicy
Methods
NewSchedule()
Creates a new schedule for reconnection attempts.
Declaration
IReconnectionSchedule NewSchedule()
Returns
Type | Description |
---|---|
IReconnectionSchedule |