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
ThreadLocalwith an assigned name that makes introspection and debugging easier.Reject executing or processing some task.Scheduled thread pool executor that createsRejectableFutureTaskinstead ofFutureTaskwhen registering new tasks for execution.Thread pool executor that createsRejectableFutureTaskinstead ofFutureTaskwhen registering new tasks for execution.A sizedScheduledExecutorServicewhich will reject executing tasks if the task queue is full.A synchronousExecutorServicewhich 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.