@ThreadSafe public interface AsyncRetryExecutor<T,C extends Callable<? extends T>> extends SyncRetryExecutor<T,C>
Modifier and Type | Method and Description |
---|---|
static <T,C extends Callable<? extends T>> |
defaultAsyncRetryExecutor() |
default <W extends C> |
execute(W pwhat) |
<W extends C> |
execute(W pwhat,
long startTimeNanos,
long deadlineNanos) |
default <W extends C> |
execute(W pwhat,
long timeout,
TimeUnit tu) |
static <T,C extends Callable<? extends T>> |
noRetryAsyncExecutor() |
default <R extends T,W extends C> |
submit(W pwhat) |
default <R extends T,W extends C> |
submit(W pwhat,
long deadlineNanos) |
<R extends T,W extends C> |
submit(W pwhat,
long startTimeNanos,
long deadlineNanos) |
default <R extends T,W extends C> |
submit(W pwhat,
long timeout,
TimeUnit tu) |
@CheckReturnValue default <R extends T,W extends C> Future<R> submit(W pwhat)
@CheckReturnValue default <R extends T,W extends C> Future<R> submit(W pwhat, long deadlineNanos)
@CheckReturnValue <R extends T,W extends C> Future<R> submit(W pwhat, long startTimeNanos, long deadlineNanos)
@CheckReturnValue default <R extends T,W extends C> Future<R> submit(W pwhat, long timeout, TimeUnit tu)
default <W extends C> void execute(W pwhat)
<W extends C> void execute(W pwhat, long startTimeNanos, long deadlineNanos)
static <T,C extends Callable<? extends T>> AsyncRetryExecutor<T,C> defaultAsyncRetryExecutor()
static <T,C extends Callable<? extends T>> AsyncRetryExecutor<T,C> noRetryAsyncExecutor()
Copyright © 2018 SPF4J. All rights reserved.