Package org.apache.camel.util.concurrent
Concurrent utility classes
-
Interface Summary Interface Description Rejectable Reject executing or processing some task. -
Class Summary Class Description AsyncCompletionService<V> A completion service that orders the completed tasks in the same order as they where submitted.CamelThreadFactory Thread factory which creates threads supporting a naming pattern.LockHelper NamedThreadLocal<T> AThreadLocal
with an assigned name that makes introspection and debugging easier.RejectableFutureTask<V> RejectableScheduledThreadPoolExecutor Scheduled thread pool executor that createsRejectableFutureTask
instead ofFutureTask
when registering new tasks for execution.RejectableThreadPoolExecutor Thread pool executor that createsRejectableFutureTask
instead ofFutureTask
when registering new tasks for execution.SizedScheduledExecutorService A sizedScheduledExecutorService
which will reject executing tasks if the task queue is full.SubmitOrderedCompletionService<V> Deprecated. SynchronousExecutorService A synchronousExecutorService
which always invokes the task in the caller thread (just a thread pool facade).ThreadHelper Various helper method for thread naming. -
Enum Summary Enum Description ThreadPoolRejectedPolicy Represent the kinds of options for rejection handlers for thread pools.