public abstract class BackoffStrategy extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
maxRetryDelayMs |
protected long |
minRetryDelayMs |
| Constructor and Description |
|---|
BackoffStrategy() |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
computeDelay(int retryCount) |
long |
getMaxRetryDelayMs() |
long |
getMinRetryDelayMs() |
void |
setMaxRetryDelayMs(long maxRetryDelayMs) |
void |
setMinRetryDelayMs(long minRetryDelayMs) |
protected long minRetryDelayMs
protected long maxRetryDelayMs
public abstract long computeDelay(int retryCount)
public long getMaxRetryDelayMs()
public void setMaxRetryDelayMs(long maxRetryDelayMs)
public long getMinRetryDelayMs()
public void setMinRetryDelayMs(long minRetryDelayMs)
Copyright © 2025. All rights reserved.