Class LockingVisitors.ReadWriteLockVisitor<O>

java.lang.Object
org.apache.commons.lang3.concurrent.locks.LockingVisitors.LockVisitor<O,ReadWriteLock>
org.apache.commons.lang3.concurrent.locks.LockingVisitors.ReadWriteLockVisitor<O>
Type Parameters:
O - The type of the object to protect.
Enclosing class:
LockingVisitors

See Also:
  • Constructor Details

    • ReadWriteLockVisitor

      protected ReadWriteLockVisitor(O object, ReadWriteLock readWriteLock)
      Creates a new instance with the given object and lock.
      Parameters:
      object - The object to protect. The caller is supposed to drop all references to the locked object.
      readWriteLock - the lock to use.
      See Also:
  • Method Details