Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Package edu.emory.mathcs.util.concurrent

Interface Summary
BlockingQueue A java.util.Queue that additionally supports operations that wait for elements to exist when retrieving them, and wait for space to exist when putting them.
Callable A task that returns a result and may throw an exception.
Callback Abstraction of a callback, to be invoked by a middleware upon completion of some asynchronously scheduled action.
Cancellable Something, usually a task, that can be cancelled.
Executor An object that executes submitted tasks.
ExecutorService An executor that provides methods to manage termination.
Future A Future represents the result of an asynchronous computation.
PooledExecutor.BlockedExecutionHandler Class for actions to take when execute() blocks.
ThreadFactory Interface describing any class that can generate new Thread objects.
UncaughtExceptionHandler Abstraction of the exception handler which receives notifications of exceptions occurred possibly in various parts of the system.

Class Summary
AlarmClock This class provide some value-added over java.util.Timer: that is, it enables rescheduling of previously scheduled tasks.
AsyncTask A class maintaining a single reference variable serving as the result of an operation.
BoundedLinkedQueue A bounded variant of LinkedQueue class.
CompletedFuture Trivial implementation of Future that is always completed.
CountDownLatch A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes.
DefaultChannelCapacity A utility class to set the default capacity of BoundedChannel implementations that otherwise require a capacity argument
DelegatableThreadLocal Version of a java.lang.InheritableThreadLocal that can be propagated to worker threads by means of ThreadContext.
DelegatedRunnable Wrapper for a runnable that ensures that further executions (even if performed by different threads) inherit current access control context and ThreadContext.
DynamicArrayBlockingQueue This class represents queue of objects.
LinkedNode A standard linked list node used in various queue classes
LinkedQueue A linked list based channel implementation.
PlainThreadFactory Thread factory implementation that attempts to ensure that created threads are equivalent regardless of threads that request creation.
PooledExecutor A tunable, extensible thread pool class.
QueuedExecutor An implementation of Executor that queues incoming requests until they can be processed by a single background thread.
SecureAsyncTask Variant of AsyncTask that overrides method createPerformer 55 so that it always runs with a fixed access control context and thread context inherited from the caller of createPerformer method.
SecurePooledExecutor Version of PooledExecutor that ensures propagation of access control context and thread context from call initiator to the thread executing the call.
SynchronousQueue A rendezvous channel, similar to those used in CSP and Ada.
SynchronousQueue.Queue Simple FIFO queue class to hold waiting puts/takes.
ThreadContext Represents an immutable snapshot of a thread state.
ThreadFactoryUser Base class for Executors and related classes that rely on thread factories.
ThreadSerializingExecutor The executor that delegates to other executor (usually pooling executor) but ensures that tasks scheduled from a single thread are executed sequentially.
ThreadUtils Low-level thread access utilities.
TimeUnit A TimeUnit represents time durations at a given unit of granularity and provides utility methods to convert across units, and to perform timing and delay operations in these units.

Exception Summary
CancellationException Indicates that the result of a value-producing task, such as a FutureTask, cannot be retrieved because the task was cancelled.
ExecutionException Exception thrown when attempting to retrieve the result of a task that aborted.
RejectedExecutionException Thrown by an Executor when a task cannot be accepted for execution.
TimeoutException Exception thrown when a blocking operation times out.