public interface ReconnectionPolicy
ReconnectionScheduleinstance is created (through the
newSchedule()). Then each call to the
ReconnectionPolicy.ReconnectionSchedule.nextDelayMs()method of this instance will decide when the next reconnection attempt to this node will be tried. Note that if the driver receives a push notification from the Cassandra cluster that a node is UP, any existing
ReconnectionScheduleon that node will be cancelled and a new one will be created (in effect, the driver reset the scheduler). The default
ExponentialReconnectionPolicypolicy is usually adequate.
|Modifier and Type||Interface and Description|
Schedules reconnection attempts to a node.