Package org.cojen.tupl.util


package org.cojen.tupl.util
Low-level utility classes for managing concurrency, caching, and task scheduling.
  • Class
    Description
    Implements a specialized cache for supporting object canonicalization.
    A clutch is a specialized latch which can support highly concurrent shared requests, under the assumption that exclusive requests are infrequent.
    Sharable object for supporting contended clutches.
    Non-reentrant read-write latch, designed for throughput over fairness.
    Manages a queue of waiting threads, associated with a Latch instance.
    Utility for sharing a small set of poolable objects (like buffers) which have thread affinity.
    Entry within a LocalPool.
    Alternative to directly using LockSupport for parking and unparking threads, which is much faster when threads are parked briefly.
    Implements an unbounded pool of daemon threads which automatically exit when idle.
    Utility for sharing a small set of poolable objects (like buffers) which are weakly referenced.
    An entry which weakly references a pooled object.
    Non-reentrant latch implementation which supports highly concurrent shared requests, but exclusive requests are more expensive.
    Simple task worker which has at most one background thread, and is expected to have only one thread enqueuing tasks.
    One-shot worker task instance.
    A group of workers for running tasks.