public abstract class RetryLimitedBackoffComputer extends Object implements BackoffComputer
BackoffComputer.NoMoreRetriesException
Modifier and Type | Method and Description |
---|---|
long |
computeDelay(int retryNumber) |
protected abstract long |
computeDelayWithinLimits(int retryNumber) |
int |
getMaxRetries() |
public int getMaxRetries()
public long computeDelay(int retryNumber) throws BackoffComputer.NoMoreRetriesException
computeDelay
in interface BackoffComputer
retryNumber
- starts at 1BackoffComputer.NoMoreRetriesException
protected abstract long computeDelayWithinLimits(int retryNumber)
Copyright © 2019 Evolveum. All rights reserved.