Class AutoCloseableLock

java.lang.Object
org.apache.drill.common.concurrent.AutoCloseableLock
All Implemented Interfaces:
AutoCloseable, AutoCloseables.Closeable

public class AutoCloseableLock extends Object implements AutoCloseables.Closeable
Simple wrapper class that allows Locks to be released via an try-with-resources block.