-
public interface ReconnectPolicyPolicy for reconnections that determines the delay between retries.
-
-
Method Summary
Modifier and Type Method Description abstract DurationgetNextRetryDelay(ReconnectContext context)Called after a disconnect is detected, and between each reconnect attempt. -
-
Method Detail
-
getNextRetryDelay
abstract Duration getNextRetryDelay(ReconnectContext context)
Called after a disconnect is detected, and between each reconnect attempt.
Note: To prevent infinitely retrying, there is a hard cap of 30 retries, regardless of policy.
-
-
-
-