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 final ByteBuffer
private final FileLock
static final String
private final FileChannel
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOCK_FILE
- See Also:
-
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
-