Package net.minecraft.server
Class SessionLockManager
java.lang.Object
net.minecraft.server.SessionLockManager
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ByteBuffer
private final FileLock
private final FileChannel
-
Constructor Summary
ModifierConstructorDescriptionprivate
SessionLockManager
(FileChannel p_i231437_1_, FileLock p_i231437_2_) -
Method Summary
-
Field Details
-
lockFile
-
lock
-
DUMMY
-
-
Constructor Details
-
SessionLockManager
-
-
Method Details
-
create
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
isValid
public boolean isValid() -
isLocked
- Throws:
IOException
-