net.minecraft.util

public class DirectoryLock

implements AutoCloseable

aig
net.minecraft.util.DirectoryLock
net.minecraft.class_5125
net.minecraft.unmapped.C_vhulbkrr
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
f_mxxrfzql
SESSION_LOCK
f_144627_
private final FileChannel
b
lockFile
field_23692
f_gjdcoogq
channel
f_13632_
private final FileLock
c
lock
field_23693
f_wcylduns
lock
f_13633_
private static final ByteBuffer
d
DUMMY
field_25353
f_abfwcmkw
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)
m_lzdpmrpq(Path arg0)
create(Path path)
m_13640_(Path p_13641_)
public void
close()
close()
close()
public boolean
a()
isValid()
method_26802()
m_ehnoxflf()
isValid()
m_13639_()
public static boolean
b(Path arg0)
isLocked(Path arg0)
method_26804(Path arg0)
m_jnddooyg(Path arg0)
isLocked(Path path)
m_13642_(Path p_13643_)