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 IllegalMonitorStateExceptionReleases the lock.- Specified by:
closein interfaceAutoCloseable- Throws:
IllegalMonitorStateException- if the current thread does not hold the lock.
-
-