Interface BackoffPolicy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Backoff policy for topology recovery retry attempts.
- Since:
- 5.4.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
backoff
(int attemptNumber) Wait depending on the current attempt number (1, 2, 3, etc)
-
Method Details
-
backoff
Wait depending on the current attempt number (1, 2, 3, etc)- Parameters:
attemptNumber
- current attempt number- Throws:
InterruptedException
-