public abstract class RandomizedExponentialBackoffCaller<T> extends Object implements ConcurrencyAwareCaller<T>
| Constructor and Description |
|---|
RandomizedExponentialBackoffCaller(RetriableCallerConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
T |
call(Supplier<Result<T>> resultSupplier) |
protected long |
getRandomizedExponentialWaitingTime(int retries) |
protected long |
getSleepWaitingTime(long maxWaitingValue,
long randomizedExponentialBackoff) |
abstract boolean |
isRetriable(Result<T> result) |
public RandomizedExponentialBackoffCaller(RetriableCallerConfiguration configuration)
public T call(Supplier<Result<T>> resultSupplier) throws InterruptedException
call in interface ConcurrencyAwareCaller<T>InterruptedExceptionprotected long getSleepWaitingTime(long maxWaitingValue,
long randomizedExponentialBackoff)
protected long getRandomizedExponentialWaitingTime(int retries)
Copyright © 2025 MuleSoft, Inc.. All rights reserved.