Interface IReconnectionSchedule
Schedules reconnection attempts to a node.
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public interface IReconnectionSchedule
Methods
NextDelayMs()
When to attempt the next reconnection. This method will be called once when the host is detected down to schedule the first reconnection attempt, and then once after each failed reconnection attempt to schedule the next one. Hence each call to this method are free to return a different value.
Declaration
long NextDelayMs()
Returns
Type | Description |
---|---|
long | a time in milliseconds to wait before attempting the next reconnection. |