API Overview API Index Direct link to this page
JDK 1.6
  Package: java.util.concurrent
Author(s)
Since
1.5
Version
Serial
Description
  Utility classes commonly useful in concurrent programming.
See also:   
AbstractExecutorService View Source Provides default implementations of ExecutorService execution methods.
ArrayBlockingQueue View Source A bounded blocking queue backed by an array.
BlockingDeque View Source A Deque that additionally supports blocking operations that wait for the deque to become non-empty when retrieving an element, and wait for space to become available in the deque when storing an element.
BlockingQueue View Source A Queue that additionally supports operations that wait for the queue to become non-empty when retrieving an element, and wait for space to become available in the queue when storing an element.
BrokenBarrierException View Source Exception thrown when a thread tries to wait upon a barrier that is in a broken state, or which enters the broken state while the thread is waiting.
Callable View Source A task that returns a result and may throw an exception.
CancellationException View Source Exception indicating that the result of a value-producing task, such as a FutureTask, cannot be retrieved because the task was cancelled.
CompletionService View Source A service that decouples the production of new asynchronous tasks from the consumption of the results of completed tasks.
ConcurrentHashMap View Source A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updates.
ConcurrentLinkedQueue View Source An unbounded thread-safe queue based on linked nodes.
ConcurrentMap View Source A Map providing additional atomic putIfAbsent, remove, and replace methods.
ConcurrentNavigableMap View Source A ConcurrentMap supporting NavigableMap operations, and recursively so for its navigable sub-maps.
ConcurrentSkipListMap View Source A scalable concurrent ConcurrentNavigableMap implementation.
ConcurrentSkipListSet View Source A scalable concurrent NavigableSet implementation based on a ConcurrentSkipListMap.
CopyOnWriteArrayList View Source A thread-safe variant of ArrayList in which all mutative operations (add, set, and so on) are implemented by making a fresh copy of the underlying array.
CopyOnWriteArraySet View Source A Set that uses an internal CopyOnWriteArrayList for all of its operations.
CountDownLatch View Source A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes.
CyclicBarrier View Source A synchronization aid that allows a set of threads to all wait for each other to reach a common barrier point.
Delayed View Source A mix-in style interface for marking objects that should be acted upon after a given delay.
DelayQueue View Source An unbounded blocking queue of Delayed elements, in which an element can only be taken when its delay has expired.
Exchanger View Source A synchronization point at which threads can pair and swap elements within pairs.
ExecutionException View Source Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception.
Executor View Source An object that executes submitted Runnable tasks.
ExecutorCompletionService View Source A CompletionService that uses a supplied Executor to execute tasks.
Executors View Source Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory, and Callable classes defined in this package.
ExecutorService View Source An Executor that provides methods to manage termination and methods that can produce a Future for tracking progress of one or more asynchronous tasks.
Future View Source A Future represents the result of an asynchronous computation.
FutureTask View Source A cancellable asynchronous computation.
LinkedBlockingDeque View Source An optionally-bounded blocking deque based on linked nodes.
LinkedBlockingQueue View Source An optionally-bounded blocking queue based on linked nodes.
PriorityBlockingQueue View Source An unbounded blocking queue that uses the same ordering rules as class PriorityQueue and supplies blocking retrieval operations.
RejectedExecutionException View Source Exception thrown by an Executor when a task cannot be accepted for execution.
RejectedExecutionHandler View Source A handler for tasks that cannot be executed by a ThreadPoolExecutor.
RunnableFuture View Source A Future that is Runnable.
RunnableScheduledFuture View Source A ScheduledFuture that is Runnable.
ScheduledExecutorService View Source An ExecutorService that can schedule commands to run after a given delay, or to execute periodically.
ScheduledFuture View Source A delayed result-bearing action that can be cancelled.
ScheduledThreadPoolExecutor View Source A ThreadPoolExecutor that can additionally schedule commands to run after a given delay, or to execute periodically.
Semaphore View Source A counting semaphore.
SynchronousQueue View Source A blocking queue in which each insert operation must wait for a corresponding remove operation by another thread, and vice versa.
ThreadFactory View Source An object that creates new threads on demand.
ThreadPoolExecutor View Source An ExecutorService that executes each submitted task using one of possibly several pooled threads, normally configured using Executors factory methods.
ThreadPoolExecutor.AbortPolicy View Source A handler for rejected tasks that throws a RejectedExecutionException.
ThreadPoolExecutor.CallerRunsPolicy View Source A handler for rejected tasks that runs the rejected task directly in the calling thread of the execute method, unless the executor has been shut down, in which case the task is discarded.
ThreadPoolExecutor.DiscardOldestPolicy View Source A handler for rejected tasks that discards the oldest unhandled request and then retries execute, unless the executor is shut down, in which case the task is discarded.
ThreadPoolExecutor.DiscardPolicy View Source A handler for rejected tasks that silently discards the rejected task.
TimeoutException View Source Exception thrown when a blocking operation times out.
TimeUnit View Source 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.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar