Package com.loomcache.server.cp
@NullMarked
package com.loomcache.server.cp
-
ClassDescriptionIdentifies a Consistency group (Consistent/Partition-tolerant group) with a name and unique ID.Tracks client session state for session-aware CP primitives.Consistency Subsystem — manages Raft-based strongly consistent distributed primitives.Represents a fencing token used to prevent stale lock holders from accessing resources.Generates monotonically increasing fencing tokens for lock acquisitions.Linearizable distributed atomic long with strong consistency via Raft.Linearizable distributed atomic reference with strong consistency via Raft.Distributed countdown latch for synchronizing multiple threads on a shared counter.WARNING: JVM-LOCAL ONLY — NOT a distributed lock.Distributed semaphore for controlling access to a limited resource pool.Manages CP session lifecycle: creation, heartbeat, expiration, and cleanup.Represents a session managed by the SessionManager.Callback invoked when a resource (e.g., lock or semaphore permit) is released due to session expiration.Enumeration of possible states for a CP session.Statistics about active and historical CP sessions.