Interface BackoffPolicy
-
public interface BackoffPolicyBackoff policy for topology recovery retry attempts.- Since:
- 4.8.0
- See Also:
DefaultRetryHandler,TopologyRecoveryRetryHandlerBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbackoff(int attemptNumber)Wait depending on the current attempt number (1, 2, 3, etc)
-
-
-
Method Detail
-
backoff
void backoff(int attemptNumber) throws InterruptedExceptionWait depending on the current attempt number (1, 2, 3, etc)- Parameters:
attemptNumber- current attempt number- Throws:
InterruptedException
-
-