Package org.apache.pivot.util.concurrent
Provides a set of classes to simplify the execution of background tasks.
-
Interface Summary Interface Description TaskListener<V> Task listener interface. -
Class Summary Class Description SimpleExecutorService An executor service that simply spawns a new thread on every call toSimpleExecutorService.execute(java.lang.Runnable)
.Task<V> Abstract base class for "tasks".TaskGroup Task
that runs a group of tasks in parallel and notifies listeners when all tasks are complete.TaskSequence Task
that runs a sequence of tasks in series and notifies listeners when all tasks are complete. -
Exception Summary Exception Description AbortException Thrown when a task is aborted.TaskExecutionException Thrown when an error occurs during task execution.TimeoutException Thrown when an executing task has timed out.