minified-worlds/com.dervarex.minified.worlds.save/SessionLock
SessionLock.Handle
public static final class Handle
implements CloseableHolds the lock until you close it, see acquire(Path)
- Implemented interfaces
- Closeable, AutoCloseable
- Enclosing type
- SessionLock
Methods
public void close() throws IOExceptionGives the lock back, closing twice doesn't hurt
| Throws | ||
|---|---|---|
IOException | If releasing the lock fails | |
Implements Closeable.close()
Used by
Methods of other types that accept or return SessionLock.Handle.