net.minecraft.util

public class DirectoryLock

implements AutoCloseable

azk
net.minecraft.util.DirectoryLock
net.minecraft.class_5125
net.minecraft.world.level.storage.SessionLock
net.minecraft.util.SessionLock

Field summary

Modifier and TypeField
public static final String
a
LOCK_FILE
field_29838
SESSION_LOCK
private final FileChannel
b
lockFile
field_23692
channel
private final FileLock
c
lock
field_23693
lock
private static final ByteBuffer
d
DUMMY
field_25353
SNOWMAN

Constructor summary

ModifierConstructor
private (FileChannel channel, FileLock lock)

Method summary

Modifier and TypeMethod
public static DirectoryLock
a(Path arg0)
create(Path arg0)
method_26803(Path arg0)
create(Path path)
public void
close()
close()
public boolean
a()
isValid()
method_26802()
isValid()
public static boolean
b(Path arg0)
isLocked(Path arg0)
method_26804(Path arg0)
isLocked(Path path)