public interface ReconnectStrategy
| Modifier and Type | Method and Description | 
|---|---|
Long | 
getTimeToNextAttempt(int attemptCount)
Return the time to the next attempt to reconnect. 
 | 
Long getTimeToNextAttempt(int attemptCount)
attemptCount - how many reconnect attempts have been made alreadynull to stop