Uses of Package
java.util.concurrent
Package
Description
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
Provides utilities for operations on abstract syntax trees (AST).
Provides classes that are fundamental to the design of the Java
programming language.
Provides reference-object classes, which support a limited degree
of interaction with the garbage collector.
HTTP Client and WebSocket APIs
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.
Service-provider classes for the
java.nio.channels
package.Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
Interfaces and classes providing access to file and file system attributes.
Service-provider classes for the
java.nio.file
package.Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Utility classes commonly useful in concurrent programming.
Interfaces and classes providing a framework for locking and waiting
for conditions that is distinct from built-in synchronization and
monitors.
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
Provides the core classes for the Java Management Extensions.
This package provides a framework for authentication and
authorization.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
Defines non-final APIs for concurrent programming.
-
-
-
ClassDescriptionA
Future
that 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.An object that creates new threads on demand.ATimeUnit
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. -
-
ClassDescriptionA
Future
that 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.A stage of a possibly asynchronous computation, that performs an action or computes a value when another CompletionStage completes.AMap
providing thread safety and atomicity guarantees.An object that executes submittedRunnable
tasks.A producer of items (and related control messages) received by Subscribers.A receiver of messages. -
ClassDescriptionA
Future
represents the result of an asynchronous computation.An object that creates new threads on demand.ATimeUnit
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. -
ClassDescriptionAn object that creates new threads on demand.
-
ClassDescriptionA
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. -
ClassDescriptionA
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. -
ClassDescription
-
-
ClassDescriptionProvides default implementations of
ExecutorService
execution methods.ADeque
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.AQueue
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.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.A task that returns a result and may throw an exception.AFuture
that 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.A service that decouples the production of new asynchronous tasks from the consumption of the results of completed tasks.A stage of a possibly asynchronous computation, that performs an action or computes a value when another CompletionStage completes.A view of a ConcurrentHashMap as aSet
of keys, in which additions may optionally be enabled by mapping to a common value.AMap
providing thread safety and atomicity guarantees.AConcurrentMap
supportingNavigableMap
operations, and recursively so for its navigable sub-maps.A scalable concurrentConcurrentNavigableMap
implementation.A scalable concurrentNavigableSet
implementation based on aConcurrentSkipListMap
.AForkJoinTask
with a completion action performed when triggered and there are no remaining pending actions.A mix-in style interface for marking objects that should be acted upon after a given delay.Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception.An object that executes submittedRunnable
tasks.A producer of items (and related control messages) received by Subscribers.A receiver of messages.Message control linking aFlow.Publisher
andFlow.Subscriber
.AnExecutorService
for runningForkJoinTask
s.Factory for creating newForkJoinWorkerThread
s.Interface for extending managed parallelism for tasks running inForkJoinPool
s.Abstract base class for tasks that run within aForkJoinPool
.A thread managed by aForkJoinPool
, which executesForkJoinTask
s.AFuture
represents the result of an asynchronous computation.Represents the computation state.A reusable synchronization barrier, similar in functionality toCyclicBarrier
andCountDownLatch
but supporting more flexible usage.A handler for tasks that cannot be executed by aThreadPoolExecutor
.AScheduledFuture
that isRunnable
.AnExecutorService
that can schedule commands to run after a given delay, or to execute periodically.A delayed result-bearing action that can be cancelled.An object that creates new threads on demand.A random number generator (with period 264) isolated to the current thread.AnExecutorService
that executes each submitted task using one of possibly several pooled threads, normally configured usingExecutors
factory methods.Exception thrown when a blocking operation times out.ATimeUnit
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.ABlockingQueue
in which producers may wait for consumers to receive elements. -
ClassDescriptionA
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. -
-
-
ClassDescriptionA task that returns a result and may throw an exception.Exception thrown when an error or other exception is encountered in the course of completing a result or task.
-
ClassDescriptionException thrown when attempting to retrieve the result of a task that aborted by throwing an exception.A
Future
represents the result of an asynchronous computation.Exception thrown when a blocking operation times out.ATimeUnit
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. -
-
ClassDescriptionA task that returns a result and may throw an exception.Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception.A
Future
represents the result of an asynchronous computation.An object that creates new threads on demand.Exception thrown when a blocking operation times out.