Package net.minecraft.util
Class DirectoryLock
java.lang.Object
net.minecraft.util.DirectoryLock
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static ByteBuffer
private FileLock
static String
private FileChannel
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOCK_FILE
- See Also:
- Constant Field Values
-
lockFile
-
lock
-
DUMMY
-
-
Constructor Details
-
DirectoryLock
-
-
Method Details
-
create
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
isValid
public boolean isValid() -
isLocked
- Throws:
IOException
-