java.util.concurrent
Classes
| AbstractExecutorService |
Provides default implementations of |
| ArrayBlockingQueue |
A bounded BlockingQueue backed by an array. |
| CompletableFuture |
A |
| ConcurrentHashMap |
A hash table supporting full concurrency of retrievals and high expected concurrency for updates. |
| ConcurrentLinkedDeque |
An unbounded concurrent Deque based on linked nodes. |
| ConcurrentLinkedQueue |
An unbounded thread-safe Queue based on linked nodes. |
| ConcurrentSkipListMap |
A scalable concurrent |
| ConcurrentSkipListSet |
A scalable concurrent |
| CopyOnWriteArrayList |
A thread-safe variant of |
| CopyOnWriteArraySet |
A |
| CountDownLatch |
A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes. |
| CountedCompleter |
A |
| CyclicBarrier |
A synchronization aid that allows a set of threads to all wait for each other to reach a common barrier point. |
| DelayQueue |
An unbounded BlockingQueue of |
| Exchanger |
A synchronization point at which threads can pair and swap elements within pairs. |
| ExecutorCompletionService |
A |
| Executors |
Factory and utility methods for |
| Flow |
Interrelated interfaces and static methods for establishing flow-controlled components in which |
| ForkJoinPool |
An |
| ForkJoinTask |
Abstract base class for tasks that run within a |
| ForkJoinWorkerThread |
A thread managed by a |
| FutureTask |
A cancellable asynchronous computation. |
| LinkedBlockingDeque |
An optionally-bounded BlockingDeque based on linked nodes. |
| LinkedBlockingQueue |
An optionally-bounded BlockingQueue based on linked nodes. |
| LinkedTransferQueue |
An unbounded |
| Phaser |
A reusable synchronization barrier, similar in functionality to |
| PriorityBlockingQueue |
An unbounded BlockingQueue that uses the same ordering rules as class |
| RecursiveAction |
A recursive resultless |
| RecursiveTask |
A recursive result-bearing |
| ScheduledThreadPoolExecutor |
A |
| Semaphore |
A counting semaphore. |
| SynchronousQueue |
A BlockingQueue in which each insert operation must wait for a corresponding remove operation by another thread, and vice versa. |
| ThreadLocalRandom |
A random number generator isolated to the current thread. |
| ThreadPoolExecutor |
An |
Exceptions
| BrokenBarrierException |
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. |
| CancellationException |
Exception indicating that the result of a value-producing task, such as a |
| CompletionException |
Exception thrown when an error or other exception is encountered in the course of completing a result or task. |
| ExecutionException |
Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception. |
| RejectedExecutionException |
Exception thrown by an |
| TimeoutException |
Exception thrown when a blocking operation times out. |
Enums
| TimeUnit |
A 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. |