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.util
    Modifier and Type
    Class
    Description
    class 
    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 Latch
    Modifier and Type
    Method
    Description
    final int
    Latch.Condition.await(Latch latch)
    Blocks the current thread indefinitely until a signal is received.
    final int
    Latch.Condition.await(Latch latch, long nanosTimeout)
    Blocks the current thread until a signal is received.
    final int
    Latch.Condition.await(Latch latch, long nanosTimeout, long nanosEnd)
    Blocks the current thread until a signal is received.
    final int
    Latch.Condition.await(Latch latch, long timeout, TimeUnit unit)
    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
    Latch.Condition.signal(Latch latch)
    Signals the first waiter, of any type.
    final void
    Latch.Condition.signalAll(Latch latch)
    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.