Package org.jivesoftware.util
Class AutoCloseableReentrantLock.AutoCloseableLock
- java.lang.Object
-
- org.jivesoftware.util.AutoCloseableReentrantLock.AutoCloseableLock
-
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- AutoCloseableReentrantLock
public static final class AutoCloseableReentrantLock.AutoCloseableLock extends Object implements AutoCloseable
-
-
Method Detail
-
close
public void close() throws IllegalMonitorStateException
Releases the lock.- Specified by:
close
in interfaceAutoCloseable
- Throws:
IllegalMonitorStateException
- if the current thread does not hold the lock.
-
-