@FunctionalInterface public interface RetryCallable<V,T>
| Modifier and Type | Method and Description |
|---|---|
V |
call(RetryContext<T> ctx) |
static <V,T> RetryCallable<V,T> |
from(Callable<? extends V> callable) |
static RetryCallable<Void,Void> |
from(RetryRunnable runnable) |
static RetryCallable<Void,Void> |
from(Runnable runnable) |
V call(RetryContext<T> ctx) throws Exception
Exceptionstatic <V,T> RetryCallable<V,T> from(Callable<? extends V> callable)
static RetryCallable<Void,Void> from(RetryRunnable runnable)
static RetryCallable<Void,Void> from(Runnable runnable)
Copyright © 2021. All rights reserved.