Class LockingVisitors.StampedLockVisitor<O>

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

See Also:
  • Constructor Details

    • StampedLockVisitor

      protected StampedLockVisitor(O object, StampedLock stampedLock)
      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.
      stampedLock - the lock to use.
      See Also:
  • Method Details