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 Summary
-
Method Details
-
close
Releases the lock.- Specified by:
close
in interfaceAutoCloseable
- Throws:
IllegalMonitorStateException
- if the current thread does not hold the lock.
-