public class ExponentialBackoffIntervalCalculator extends Object
Constructor and Description |
---|
ExponentialBackoffIntervalCalculator(int initialInterval,
int maxRetryIntervalExponent) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentReconnectAttempt() |
long |
getInterval(int retryIndex) |
long |
nextReconnectInterval() |
void |
resetReconnectAttempts() |
Copyright © 2015–2022 Red Hat. All rights reserved.