Class ForwardingLock
java.lang.Object
com.google.common.util.concurrent.ForwardingLock
- All Implemented Interfaces:
Lock
- Direct Known Subclasses:
Striped.WeakSafeLock
Forwarding wrapper around a
Lock.-
Constructor Details
-
ForwardingLock
ForwardingLock()
-
-
Method Details
-
delegate
-
lock
public void lock() -
lockInterruptibly
- Specified by:
lockInterruptiblyin interfaceLock- Throws:
InterruptedException
-
tryLock
public boolean tryLock() -
tryLock
- Specified by:
tryLockin interfaceLock- Throws:
InterruptedException
-
unlock
public void unlock() -
newCondition
- Specified by:
newConditionin interfaceLock
-