public static interface ReconnectionPolicy.ReconnectionSchedule
Modifier and Type | Method and Description |
---|---|
long |
nextDelayMs()
When to attempt the next reconnection.
|
long nextDelayMs()
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.
Copyright © 2012–2020. All rights reserved.