# Package de.caff.util.concurrent

Helper classes for multi-threading.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  PriorityExecutor | Executor which executes a task with a given priority.
  TaskLifeCycleListener | Task counter interface.

- Class Summary
  Class | Description
  --- | ---
  Exec | Class with static helper methods for thread pool execution.
  Exec.DefaultThreadFactory | Default thread factory.
  Exec.FinishingThreadPoolExecutor | This is a wrapper for a thread-pool executor which accepts runnable tasks and can wait until all of them are finished.
  Exec.PrivilegedThreadFactory | Privileged thread factor.
  ParallelSort | Parallel sorting.
  PresentFuture<V> | A future which is already existing in the present.
  PriorityThreadPoolExecutor | Same as thread pool executor, but supporting priorities.

- Enum Summary
  Enum | Description
  --- | ---
  Priority | Execution priority.

## Package de.caff.util.concurrent Description

Helper classes for multi-threading.

- `Exec` provides helpful methods for thread pools.
- `ParallelSort` implements a parallel sorting algorithm of dubious value.
- `PresentFuture` is useful if a `Future` is expected, but its value is already known.
- `PriorityExecutor` is helpful if you want to have the possibility to run some tasks faster.