Class LockingVisitors.StampedLockVisitor<O>

    • Constructor Detail

      • StampedLockVisitor

        protected StampedLockVisitor​(O object,
                                     java.util.concurrent.locks.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:
        LockingVisitors