Interface | Description |
---|---|
After | |
Cancellable |
An object that can be cancelled with a reason.
|
Context |
A context provides an API to
Task s for the purpose of scheduling
other tasks. |
DelayedExecutor |
An object that allows a task to be scheduled for execution after some delay.
|
ParTask<T> |
A ParTask will execute the list of tasks in parallel and contains the result of the complete set.
|
Task<T> |
A task represents a deferred execution that also contains its resulting
value.
|
ThrowableCallable<T> | Deprecated
As of 2.0.0, replaced by
Callable . |
Tuple2Task<T1,T2> | |
Tuple3Task<T1,T2,T3> | |
Tuple4Task<T1,T2,T3,T4> | |
Tuple5Task<T1,T2,T3,T4,T5> | |
Tuple6Task<T1,T2,T3,T4,T5,T6> | |
Tuple7Task<T1,T2,T3,T4,T5,T6,T7> | |
Tuple8Task<T1,T2,T3,T4,T5,T6,T7,T8> | |
Tuple9Task<T1,T2,T3,T4,T5,T6,T7,T8,T9> |
Class | Description |
---|---|
ActionTask | Deprecated
As of 2.0.0, replaced by
Task.action . |
AsyncCallableTask<R> | Deprecated
As of 2.0.0, replaced by
Task.blocking . |
BaseTask<T> |
An abstract base class that can be used to build implementations of
Task . |
BaseTask.State | |
CallableTask<T> | Deprecated
As of 2.0.0, replaced by
Task.callable . |
DelayedExecutorAdapter |
Adapts a
ScheduledExecutorService to the simpler
DelayedExecutor interface. |
Engine |
An object that can run a set
Task s. |
EngineBuilder |
A configurable builder that makes
Engine s. |
Exceptions | |
Par2Task<T1,T2> | |
Par3Task<T1,T2,T3> | |
Par4Task<T1,T2,T3,T4> | |
Par5Task<T1,T2,T3,T4,T5> | |
Par6Task<T1,T2,T3,T4,T5,T6> | |
Par7Task<T1,T2,T3,T4,T5,T6,T7> | |
Par8Task<T1,T2,T3,T4,T5,T6,T7,T8> | |
Par9Task<T1,T2,T3,T4,T5,T6,T7,T8,T9> | |
Priority |
Priority describes the order in which tasks should be executed when there
is more than one task available for execution.
|
Tasks |
This class provides a set of factory methods for create common
Task s. |
Tuple2TaskDelegate<T1,T2> | |
Tuple3TaskDelegate<T1,T2,T3> | |
Tuple4TaskDelegate<T1,T2,T3,T4> | |
Tuple5TaskDelegate<T1,T2,T3,T4,T5> | |
Tuple6TaskDelegate<T1,T2,T3,T4,T5,T6> | |
Tuple7TaskDelegate<T1,T2,T3,T4,T5,T6,T7> | |
Tuple8TaskDelegate<T1,T2,T3,T4,T5,T6,T7,T8> | |
Tuple9TaskDelegate<T1,T2,T3,T4,T5,T6,T7,T8,T9> |
Exception | Description |
---|---|
EarlyFinishException |
This exception indicates that a task was cancelled because its parent was
resolved (a value was set for the parent) before the task itself was
resolved.
|
EngineShutdownException |
This exception is raised when a Task is submitted to an engine after the
engine has been shutdown.
|
MultiException |
An exception representing multiple exceptions.
|
Task
for methods to create common types of Tasks.