@FunctionalInterface public interface BackoffPolicy
DefaultRetryHandler
,
TopologyRecoveryRetryHandlerBuilder
Modifier and Type | Method and Description |
---|---|
void |
backoff(int attemptNumber)
Wait depending on the current attempt number (1, 2, 3, etc)
|
void backoff(int attemptNumber) throws InterruptedException
attemptNumber
- current attempt numberInterruptedException
Copyright © 2024 Broadcom Inc. and its subsidiaries.. All rights reserved.