JBoss Threads 2.0.0.GA

Package org.jboss.threads

Interface Summary
AsyncCancellable An interface which supports asynchronous cancellation.
AsyncFuture<T> This interface represents the result of an asynchronous future task, which provides all the features of Future while also adding several additional convenience methods and the ability to add asynchronous callbacks.
AsyncFuture.Listener<T,A> A listener for an asynchronous future computation result.
AtomicArray.Creator<V>  
BlockingExecutor An executor which can optionally block or not block on task submission.
BlockingExecutorService A blocking executor service.
DirectExecutor A direct executor.
DirectExecutorService A direct executor service.
EventListener<A> An event listener which handles a single event and accepts an attachment of some type.
InterruptHandler A thread interrupt handler.
ShutdownListenable An object which can have shutdown listeners registered on it.
TaskNotifier<R extends Runnable,A> A notifier which is called when tasks start, stop, or fail.
WrappingExecutor An executor which runs a task within the given direct executor.
 

Class Summary
ArrayQueue<E> A simple array-backed queue with a fixed size.
AsyncFuture.AbstractListener<T,A> An abstract base class for an implementation of the Listener interface.
AsyncFutureTask<T> A base class for implementing asynchronous tasks.
AtomicArray<T,V> Utility for snapshot/copy-on-write arrays.
BalancingExecutor A simple load-balancing executor.
Dependency A task which depends on other tasks, and which may have tasks depending upon it.
DependencyTaskBuilder A builder for a dependency task.
JBossExecutors JBoss thread- and executor-related utility and factory methods.
JBossScheduledThreadPoolExecutor  
JBossThread A JBoss thread.
JBossThreadFactory A factory for JBossThread instances.
JBossThreadPoolExecutor  
OrderedExecutor An executor that always runs all tasks in queue order, using a delegate executor to run the tasks.
QueueExecutor An executor which uses a regular queue to hold tasks.
QueuelessExecutor A queueless thread pool.
SimpleShutdownListenable A simple shutdown-listenable registry.
 

Enum Summary
AsyncFuture.Status The possible statuses of an AsyncFuture.
 

Exception Summary
ExecutionInterruptedException Thrown when a Executor.execute(Runnable) submission is interrupted before the task could be accepted.
ExecutionTimedOutException Thrown when an execute-with-timeout method is called and the timeout elapsed before a task could be accepted.
StoppedExecutorException Thrown when a task is submitted to an executor which is in the process of, or has completed shutting down.
ThreadCreationException Thrown when a thread factory refuses to create a thread for a thread pool.
 


JBoss Threads 2.0.0.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.