org.apache.commons.lang3.concurrent.locks (Apache Commons Lang 3.20.0 API)
Description: declaration: package: org.apache.commons.lang3.concurrent.locks

# Package org.apache.commons.lang3.concurrent.locks

package org.apache.commons.lang3.concurrent.locks
Provides support classes for multi-threaded programming. This package is intended to be an extension to `java.util.concurrent.locks`.

Since:
  3.11

- Related Packages
  Package
  Description
  org.apache.commons.lang3.concurrent
  Provides support classes for multi-threaded programming.
- Classes
  Class
  Description
  LockingVisitors
  Combines the monitor and visitor pattern to work with `Lock`s as an alternative to synchronization.
  LockingVisitors.LockVisitor<O,L>
  Wraps a domain object and a lock for access by lambdas.
  LockingVisitors.LockVisitor.LVBuilder<O, L, B extends LockingVisitors.LockVisitor.LVBuilder<O,L,B>>
  Builds `LockingVisitors.LockVisitor` instances.
  LockingVisitors.ReadWriteLockVisitor<O>
  Wraps a `ReadWriteLock` and object to protect.
  LockingVisitors.ReadWriteLockVisitor.Builder<O>
  Builds `LockingVisitors.LockVisitor` instances.
  LockingVisitors.ReentrantLockVisitor<O>
  Wraps a `ReentrantLock` and object to protect.
  LockingVisitors.ReentrantLockVisitor.Builder<O>
  Builds `LockingVisitors.LockVisitor` instances.
  LockingVisitors.StampedLockVisitor<O>
  Wraps a `StampedLock` and object to protect.
  LockingVisitors.StampedLockVisitor.Builder<O>
  Builds `LockingVisitors.LockVisitor` instances.