public interface Lease extends Closeable
InterProcessSemaphore. It is the client's responsibility
to close this lease when it is no longer needed so that other blocked clients can use it. If the
client crashes (or its session expires, etc.) the lease will automatically be closed.void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOException - errorsCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.