net.minecraft.util

public class DirectoryLock

implements AutoCloseable

adp
net.minecraft.util.DirectoryLock
net.minecraft.class_5125
net.minecraft.world.level.storage.SessionLock
net.minecraft.server.SessionLockManager
net.minecraft.server.v1_16_R1.SessionLock

Field summary

Modifier and TypeField
private final FileChannel
a
lockFile
field_23692
channel
field_232994_a_
private final FileLock
b
lock
field_23693
lock
field_232995_b_
private static final ByteBuffer
c
DUMMY
field_25353
field_25353
field_232996_c_

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)
func_232998_a_(Path arg0)
public void
close()
close()
close()
close()
close()
public boolean
a()
isValid()
method_26802()
isValid()
func_232997_a_()
public static boolean
b(Path arg0)
isLocked(Path arg0)
method_26804(Path arg0)
isLocked(Path path)
func_232999_b_(Path arg0)