Uses of Class
org.cojen.tupl.util.Latch
Packages that use Latch
Package
Description
Low-level utility classes for managing concurrency, caching, and task scheduling.
-
Uses of Latch in org.cojen.tupl.util
Subclasses of Latch in org.cojen.tupl.utilModifier and TypeClassDescriptionclassA clutch is a specialized latch which can support highly concurrent shared requests, under the assumption that exclusive requests are infrequent.static classSharable object for supporting contended clutches.Methods in org.cojen.tupl.util with parameters of type LatchModifier and TypeMethodDescriptionfinal intBlocks the current thread indefinitely until a signal is received.final intBlocks the current thread until a signal is received.final intBlocks the current thread until a signal is received.final intBlocks the current thread until a signal is received.final intLatch.Condition.awaitTagged(Latch latch, long nanosTimeout) Blocks the current thread until a signal is received.final intLatch.Condition.awaitTagged(Latch latch, long nanosTimeout, long nanosEnd) Blocks the current thread until a signal is received.final intLatch.Condition.priorityAwait(Latch latch, long nanosTimeout, long nanosEnd) Blocks the current thread until a signal is received.final voidSignals the first waiter, of any type.final voidSignals all waiters, of any type.final voidLatch.Condition.signalTagged(Latch latch) Signals the first waiter, but only if it's a tagged waiter.