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 TypeClassDescriptionclass
A clutch is a specialized latch which can support highly concurrent shared requests, under the assumption that exclusive requests are infrequent.static class
Sharable object for supporting contended clutches.Methods in org.cojen.tupl.util with parameters of type LatchModifier and TypeMethodDescriptionfinal int
Blocks the current thread indefinitely until a signal is received.final int
Blocks the current thread until a signal is received.final int
Blocks the current thread until a signal is received.final int
Blocks the current thread until a signal is received.final int
Latch.Condition.awaitTagged
(Latch latch, long nanosTimeout) Blocks the current thread until a signal is received.final int
Latch.Condition.awaitTagged
(Latch latch, long nanosTimeout, long nanosEnd) Blocks the current thread until a signal is received.final int
Latch.Condition.priorityAwait
(Latch latch, long nanosTimeout, long nanosEnd) Blocks the current thread until a signal is received.final void
Signals the first waiter, of any type.final void
Signals all waiters, of any type.final void
Latch.Condition.signalTagged
(Latch latch) Signals the first waiter, but only if it's a tagged waiter.