classinternalSource
public static final class Handle
    implements Closeable

Holds the lock until you close it, see acquire(Path)

Implemented interfaces
Closeable, AutoCloseable
Enclosing type
SessionLock

Methods

public void close() throws IOException
Gives the lock back, closing twice doesn't hurt
Throws
IOExceptionIf releasing the lock fails

Implements Closeable.close()

Used by

Methods of other types that accept or return SessionLock.Handle.