net.minecraft.util

public class DirectoryLock

implements AutoCloseable

akw
net.minecraft.util.DirectoryLock
net.minecraft.class_5125
net.minecraft.world.level.storage.SessionLock
net.minecraft.src.C_171_
net.minecraft.util.SessionLock

Field summary

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

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)
m_13640_(Path p_13641_)
public void
close()
close()
close()
public boolean
a()
isValid()
method_26802()
isValid()
m_13639_()
public static boolean
b(Path arg0)
isLocked(Path arg0)
method_26804(Path arg0)
isLocked(Path path)
m_13642_(Path p_13643_)