| Package | Description | 
|---|---|
| java.lang | Provides classes that are fundamental to the design of the Java
 programming language. | 
| java.nio.channels | Defines channels, which represent connections to entities that are capable of
 performing I/O operations, such as files and sockets; defines selectors, for
 multiplexed, non-blocking I/O operations. | 
| java.nio.channels.spi | Service-provider classes for the  java.nio.channelspackage. | 
| java.nio.file | Defines interfaces and classes for the Java virtual machine to access files,
 file attributes, and file systems. | 
| java.nio.file.attribute | Interfaces and classes providing access to file and file system attributes. | 
| java.nio.file.spi | Service-provider classes for the  java.nio.filepackage. | 
| java.sql | Provides the API for accessing and processing data stored in a 
data source (usually a relational database) using the 
JavaTM programming language. | 
| java.util.concurrent | Utility classes commonly useful in concurrent programming. | 
| java.util.concurrent.locks | Interfaces and classes providing a framework for locking and waiting
 for conditions that is distinct from built-in synchronization and
 monitors. | 
| java.util.stream | Classes to support functional-style operations on streams of elements, such
 as map-reduce transformations on collections. | 
| javax.management | Provides the core classes for the Java Management Extensions. | 
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| javax.tools | Provides interfaces for tools which can be invoked from a program,
 for example, compilers. | 
| javax.xml.ws | This package contains the core JAX-WS APIs. | 
| javax.xml.ws.spi | This package defines SPIs for JAX-WS. | 
| Class and Description | 
|---|
| TimeUnit A  TimeUnitrepresents 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. | 
| Class and Description | 
|---|
| ExecutorService | 
| Future A  Futurerepresents the result of an asynchronous
 computation. | 
| ThreadFactory An object that creates new threads on demand. | 
| TimeUnit A  TimeUnitrepresents 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. | 
| Class and Description | 
|---|
| ExecutorService | 
| ThreadFactory An object that creates new threads on demand. | 
| Class and Description | 
|---|
| TimeUnit A  TimeUnitrepresents 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. | 
| Class and Description | 
|---|
| TimeUnit A  TimeUnitrepresents 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. | 
| Class and Description | 
|---|
| ExecutorService | 
| Class and Description | 
|---|
| Executor An object that executes submitted  Runnabletasks. | 
| Class and Description | 
|---|
| AbstractExecutorService Provides default implementations of  ExecutorServiceexecution methods. | 
| BlockingDeque A  Dequethat 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 A  Queuethat 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 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 A task that returns a result and may throw an exception. | 
| CompletableFuture A  Futurethat may be explicitly completed (setting its
 value and status), and may be used as aCompletionStage,
 supporting dependent functions and actions that trigger upon its
 completion. | 
| CompletionService A service that decouples the production of new asynchronous tasks
 from the consumption of the results of completed tasks. | 
| CompletionStage A stage of a possibly asynchronous computation, that performs an
 action or computes a value when another CompletionStage completes. | 
| ConcurrentHashMap.KeySetView A view of a ConcurrentHashMap as a  Setof keys, in
 which additions may optionally be enabled by mapping to a
 common value. | 
| ConcurrentMap A  Mapproviding thread safety and atomicity
 guarantees. | 
| ConcurrentNavigableMap A  ConcurrentMapsupportingNavigableMapoperations,
 and recursively so for its navigable sub-maps. | 
| ConcurrentSkipListMap A scalable concurrent  ConcurrentNavigableMapimplementation. | 
| ConcurrentSkipListSet A scalable concurrent  NavigableSetimplementation based on
 aConcurrentSkipListMap. | 
| CountedCompleter A  ForkJoinTaskwith a completion action performed when
 triggered and there are no remaining pending actions. | 
| Delayed A mix-in style interface for marking objects that should be
 acted upon after a given delay. | 
| ExecutionException Exception thrown when attempting to retrieve the result of a task
 that aborted by throwing an exception. | 
| Executor An object that executes submitted  Runnabletasks. | 
| ExecutorService | 
| ForkJoinPool An  ExecutorServicefor runningForkJoinTasks. | 
| ForkJoinPool.ForkJoinWorkerThreadFactory Factory for creating new  ForkJoinWorkerThreads. | 
| ForkJoinPool.ManagedBlocker Interface for extending managed parallelism for tasks running
 in  ForkJoinPools. | 
| ForkJoinTask Abstract base class for tasks that run within a  ForkJoinPool. | 
| ForkJoinWorkerThread A thread managed by a  ForkJoinPool, which executesForkJoinTasks. | 
| Future A  Futurerepresents the result of an asynchronous
 computation. | 
| Phaser A reusable synchronization barrier, similar in functionality to
  CyclicBarrierandCountDownLatchbut supporting more flexible usage. | 
| RejectedExecutionHandler A handler for tasks that cannot be executed by a  ThreadPoolExecutor. | 
| RunnableFuture | 
| RunnableScheduledFuture A  ScheduledFuturethat isRunnable. | 
| ScheduledExecutorService An  ExecutorServicethat can schedule commands to run after a given
 delay, or to execute periodically. | 
| ScheduledFuture A delayed result-bearing action that can be cancelled. | 
| ThreadFactory An object that creates new threads on demand. | 
| ThreadLocalRandom A random number generator isolated to the current thread. | 
| ThreadPoolExecutor An  ExecutorServicethat executes each submitted task using
 one of possibly several pooled threads, normally configured
 usingExecutorsfactory methods. | 
| TimeoutException Exception thrown when a blocking operation times out. | 
| TimeUnit A  TimeUnitrepresents 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. | 
| TransferQueue A  BlockingQueuein which producers may wait for consumers
 to receive elements. | 
| Class and Description | 
|---|
| TimeUnit A  TimeUnitrepresents 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. | 
| Class and Description | 
|---|
| ConcurrentMap A  Mapproviding thread safety and atomicity
 guarantees. | 
| Class and Description | 
|---|
| Executor An object that executes submitted  Runnabletasks. | 
| Class and Description | 
|---|
| ExecutionException Exception thrown when attempting to retrieve the result of a task
 that aborted by throwing an exception. | 
| Future A  Futurerepresents the result of an asynchronous
 computation. | 
| RunnableFuture | 
| TimeoutException Exception thrown when a blocking operation times out. | 
| TimeUnit A  TimeUnitrepresents 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. | 
| Class and Description | 
|---|
| Callable A task that returns a result and may throw an exception. | 
| Class and Description | 
|---|
| Executor An object that executes submitted  Runnabletasks. | 
| Future A  Futurerepresents the result of an asynchronous
 computation. | 
| Class and Description | 
|---|
| Executor An object that executes submitted  Runnabletasks. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2023, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.