Package org.apache.camel.util.concurrent
package org.apache.camel.util.concurrent
Concurrent utility classes
-
ClassDescriptionA completion service that orders the completed tasks in the same order as they where submitted.Thread factory which creates threads supporting a naming pattern.A
ThreadLocal
with an assigned name that makes introspection and debugging easier.Reject executing or processing some task.Scheduled thread pool executor that createsRejectableFutureTask
instead ofFutureTask
when registering new tasks for execution.Thread pool executor that createsRejectableFutureTask
instead ofFutureTask
when registering new tasks for execution.A sizedScheduledExecutorService
which will reject executing tasks if the task queue is full.Deprecated.A synchronousExecutorService
which always invokes the task in the caller thread (just a thread pool facade).Various helper method for thread naming.Represent the kinds of options for rejection handlers for thread pools.
AsyncCompletionService