T
- the type returned by the task to be executedpublic class AsyncCallableService<T> extends Object implements Callable<T>
Modifier and Type | Class and Description |
---|---|
static class |
AsyncCallableService.RetryTaskSilently |
Constructor and Description |
---|
AsyncCallableService(Callable<T> task,
long timeout,
long retryDelay,
String taskName,
Consumer<Throwable> onError) |
AsyncCallableService(Callable<T> task,
long timeout,
long retryDelay,
String taskName,
ScheduledExecutorService executorService,
Consumer<Throwable> onError) |
Copyright © 2022 Apache Software Foundation. All rights reserved.