public class AutoCloseableLock extends Object implements AutoCloseable
Lock
close()
Usage:
try (AutoCloseableLock lock = new AutoCloseableLock(innerLock)) { ... do stuff }
AutoCloseableLock(Lock lock)
void
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AutoCloseableLock(Lock lock)
public void close()
close
AutoCloseable