Class Striped.WeakSafeLock

  • All Implemented Interfaces:
    java.util.concurrent.locks.Lock
    Enclosing class:
    Striped<L>

    private static final class Striped.WeakSafeLock
    extends ForwardingLock
    Lock object that ensures a strong reference is retained to a specified object.
    • Method Detail

      • newCondition

        public java.util.concurrent.locks.Condition newCondition()
        Specified by:
        newCondition in interface java.util.concurrent.locks.Lock
        Overrides:
        newCondition in class ForwardingLock