Interface BackoffPolicy
-
public interface BackoffPolicy
Backoff 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 void
backoff(int attemptNumber)
Wait depending on the current attempt number (1, 2, 3, etc)
-
-
-
Method Detail
-
backoff
void backoff(int attemptNumber) throws InterruptedException
Wait depending on the current attempt number (1, 2, 3, etc)- Parameters:
attemptNumber
- current attempt number- Throws:
InterruptedException
-
-