Package | Description |
---|---|
io.fabric8.kubernetes.client.utils |
Modifier and Type | Method and Description |
---|---|
static <T> CompletableFuture<T> |
AsyncUtils.retryWithExponentialBackoff(Supplier<CompletableFuture<T>> action,
Consumer<T> onCancel,
Duration timeout,
ExponentialBackoffIntervalCalculator retryIntervalCalculator,
AsyncUtils.ShouldRetry<T> shouldRetry)
Returns a new
CompletableFuture that will complete once the action provided by the action supplier completes. |
Copyright © 2015–2024 Red Hat. All rights reserved.