Package-level declarations

Contains lightweight lock helpers used by model state code.

Lock types provide simple single and duplex locking contracts for places that need explicit state protection without exposing implementation-specific synchronization details through higher-level APIs.

Example:


SingleLock lock = new SingleLock();
var value = lock.accessToLock(() -> "model");

Since

3.2.0

Types

Link copied to clipboard
@ApiStatus.Internal
class DuplexLock
Duplex lock
Link copied to clipboard
@ApiStatus.Internal
class SingleLock