Package org.jivesoftware.util.cache.lock
Class LocalLock
java.lang.Object
org.jivesoftware.util.cache.lock.LocalLock
- All Implemented Interfaces:
Lock
-
Method Summary
-
Method Details
-
getLock
-
lock
public void lock() -
unlock
public void unlock() -
lockInterruptibly
- Specified by:
lockInterruptibly
in interfaceLock
- Throws:
InterruptedException
-
newCondition
- Specified by:
newCondition
in interfaceLock
-
tryLock
public boolean tryLock() -
tryLock
- Specified by:
tryLock
in interfaceLock
- Throws:
InterruptedException
-