Concurrency primitives for strands - ports of
java.util.concurrentclasses compatible with strands
Class Summary Class Description AbstractOwnableSynchronizerA synchronizer that may be exclusively owned by a strand. AbstractQueuedLongSynchronizerA version of
AbstractQueuedSynchronizerin which synchronization state is maintained as a
AbstractQueuedSynchronizerProvides a framework for implementing blocking locks and related synchronizers (semaphores, events, etc) that rely on first-in-first-out (FIFO) wait queues. CountDownLatchA synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes. CyclicBarrierA synchronization aid that allows a set of threads to all wait for each other to reach a common barrier point. PhaserA reusable synchronization barrier, similar in functionality to
CountDownLatchbut supporting more flexible usage.
ReentrantLockA reentrant mutual exclusion
Lockwith the same basic behavior and semantics as the implicit monitor lock accessed using
synchronizedmethods and statements, but with extended capabilities.
ReentrantReadWriteLockAn implementation of
ReadWriteLocksupporting similar semantics to
ReentrantReadWriteLock.ReadLockThe lock returned by method
ReentrantReadWriteLock.WriteLockThe lock returned by method
SemaphoreA counting semaphore. StampedLockA capability-based lock with three modes for controlling read/write access.