Interface Lock.Closeable
- All Superinterfaces:
AutoCloseable
- Enclosing class:
Lock
Object to auto close an acquired read or write lock. Note that we can't just use the
java
Closeable because it throws an exception on the close call that
we don't want.-
Method Summary
-
Method Details
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-