Package org.opends.server.types
Class LockManager.DnLock
java.lang.Object
org.opends.server.types.LockManager.DnLock
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- LockManager
A lock on an entry or subtree. A lock can only be unlocked once.
-
Method Summary
-
Method Details
-
toString
-
unlock
public void unlock()Unlocks this lock and releases any blocked threads.- Throws:
IllegalStateException- If this lock has already been unlocked.
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-