CompletionStage
to coordinate instead of blocking.Interface | Description |
---|---|
AsyncEpoch |
A concurrency mechanism which maintains a period of activity -- an epoch -- during which
participants may successfully enter it, that later can be terminated.
|
AsyncEpoch.EpochToken |
A token signifying successful entry in the active epoch.
|
AsyncLock |
An asynchronously acquirable mutual exclusion lock.
|
AsyncLock.LockToken |
A lock token indicating that the associated lock has been exclusively acquired.
|
AsyncNamedLock<T> |
A mechanism used to acquire mutual exclusion locks shared by a common name.
|
AsyncNamedReadWriteLock<T> |
A mechanism used to acquire read-write locks shared by a common name.
|
AsyncReadWriteLock |
An asynchronously acquirable read-write lock.
|
AsyncReadWriteLock.ReadLockToken |
A lock token indicating that the associated lock has been acquired for reader access.
|
AsyncReadWriteLock.WriteLockToken |
A lock token indicating that the associated lock has been exclusively acquired for writer
access.
|
AsyncSemaphore |
An asynchronously acquirable counting semaphore
|
AsyncStampedLock |
An asynchronously acquirable read-write lock which additionally provides an optimistic read mode.
|
AsyncStampedLock.Stamp |
An object indicating a successful optimistic read attempt.
|
Class | Description |
---|---|
AsyncFunnel<T> |
Enforces that a single asynchronous computation occurs at a time, allowing others to observe it.
|
FairAsyncLock |
An
AsyncLock which enforces fairness in its acquisition ordering |
FairAsyncNamedLock<T> |
An implementation of the
AsyncNamedLock interface which enforces fair ordering in lock
acquisition. |
FairAsyncNamedReadWriteLock<T> |
An implementation of the
AsyncNamedReadWriteLock interface which enforces fair
acquisitions (i.e. |
FairAsyncReadWriteLock |
An implementation of the
AsyncReadWriteLock interface which enforces reader/writer
fairness -- i.e. |
FairAsyncSemaphore |
An
AsyncSemaphore implementation which is strictly fair: if the permits requested by an
FairAsyncSemaphore.acquire(long) cannot be fulfilled immediately, all subsequent acquires must wait for
their predecessor to be fulfilled. |
FairAsyncStampedLock |
An
AsyncStampedLock implementation which provides fair ordering of acquisitions, like
that of FairAsyncReadWriteLock . |
Copyright © 2018. All rights reserved.