@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 © 2022 VMware, Inc. or its affiliates.. All rights reserved.