public interface BaseExpirableExecutor<E extends BaseExpirableExecutor<E>>
ExpirableExecutor
,
AppUIExecutor
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.Runnable command)
Schedule execution of the given task.
|
E |
expireWith(Disposable parentDisposable) |
<T> CancellablePromise<T> |
submit(java.util.concurrent.Callable<T> task)
Schedule the given task's execution and return a Promise that allows to get the result when the task is complete,
or cancel the task if it's no longer needed.
|
CancellablePromise<?> |
submit(java.lang.Runnable task)
Schedule the given task's execution and return a Promise that allows to check if the task is complete,
or cancel the task if it's no longer needed.
|
E expireWith(Disposable parentDisposable)
void execute(java.lang.Runnable command)
<T> CancellablePromise<T> submit(java.util.concurrent.Callable<T> task)
CancellablePromise<?> submit(java.lang.Runnable task)