public abstract class ExponentialBackoffRetry extends Object implements RetryPolicy
| Modifier | Constructor and Description |
|---|---|
protected |
ExponentialBackoffRetry(long backoffMs,
int backoffCeiling) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
backoffTimeMillis(int retryNumber) |
int |
getBackoffCeiling()
Return current maximal level of backoff exponent
|
long |
getBackoffMillis()
Return current base of backoff delays
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextRetryMsprotected ExponentialBackoffRetry(long backoffMs,
int backoffCeiling)
protected long backoffTimeMillis(int retryNumber)
public long getBackoffMillis()
public int getBackoffCeiling()
Copyright © 2024. All rights reserved.