Package net.minecraft.util
Class DirectoryLock
java.lang.Object
net.minecraft.util.DirectoryLock
- All Implemented Interfaces:
 AutoCloseable
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ByteBufferprivate final FileLockstatic final Stringprivate final FileChannel - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
LOCK_FILE
- See Also:
 
 - 
lockFile
 - 
lock
 - 
DUMMY
 
 - 
 - 
Constructor Details
- 
DirectoryLock
 
 - 
 - 
Method Details
- 
create
- Throws:
 IOException
 - 
close
- Specified by:
 closein interfaceAutoCloseable- Throws:
 IOException
 - 
isValid
public boolean isValid() - 
isLocked
- Throws:
 IOException
 
 -