Class SessionLock
java.lang.Object
net.minecraft.world.level.storage.SessionLock
- All Implemented Interfaces:
 AutoCloseable
- Mappings:
 Namespace Name official aogintermediary net/minecraft/class_5125named net/minecraft/world/level/storage/SessionLock
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FileChannelprivate final FileLockstatic final Stringprivate static final ByteBuffer - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
SESSION_LOCK
- See Also:
 - Mappings:
 Namespace Name Mixin selector official aLaog;a:Ljava/lang/String;intermediary field_29838Lnet/minecraft/class_5125;field_29838:Ljava/lang/String;named SESSION_LOCKLnet/minecraft/world/level/storage/SessionLock;SESSION_LOCK:Ljava/lang/String;
 - 
SNOWMAN
- Mappings:
 Namespace Name Mixin selector official dLaog;d:Ljava/nio/ByteBuffer;intermediary field_25353Lnet/minecraft/class_5125;field_25353:Ljava/nio/ByteBuffer;named SNOWMANLnet/minecraft/world/level/storage/SessionLock;SNOWMAN:Ljava/nio/ByteBuffer;
 - 
channel
- Mappings:
 Namespace Name Mixin selector official bLaog;b:Ljava/nio/channels/FileChannel;intermediary field_23692Lnet/minecraft/class_5125;field_23692:Ljava/nio/channels/FileChannel;named channelLnet/minecraft/world/level/storage/SessionLock;channel:Ljava/nio/channels/FileChannel;
 - 
lock
- Mappings:
 Namespace Name Mixin selector official cLaog;c:Ljava/nio/channels/FileLock;intermediary field_23693Lnet/minecraft/class_5125;field_23693:Ljava/nio/channels/FileLock;named lockLnet/minecraft/world/level/storage/SessionLock;lock:Ljava/nio/channels/FileLock;
 
 - 
 - 
Constructor Details
- 
SessionLock
- Mappings:
 Namespace Name Mixin selector official <init>Laog;<init>(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileLock;)Vintermediary <init>Lnet/minecraft/class_5125;<init>(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileLock;)Vnamed <init>Lnet/minecraft/world/level/storage/SessionLock;<init>(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileLock;)V
 
 - 
 - 
Method Details
- 
create
- Throws:
 IOException- Mappings:
 Namespace Name Mixin selector official aLaog;a(Ljava/nio/file/Path;)Laog;intermediary method_26803Lnet/minecraft/class_5125;method_26803(Ljava/nio/file/Path;)Lnet/minecraft/class_5125;named createLnet/minecraft/world/level/storage/SessionLock;create(Ljava/nio/file/Path;)Lnet/minecraft/world/level/storage/SessionLock;
 - 
close
- Specified by:
 closein interfaceAutoCloseable- Throws:
 IOException
 - 
isValid
public boolean isValid()- Mappings:
 Namespace Name Mixin selector official aLaog;a()Zintermediary method_26802Lnet/minecraft/class_5125;method_26802()Znamed isValidLnet/minecraft/world/level/storage/SessionLock;isValid()Z
 - 
isLocked
- Throws:
 IOException- Mappings:
 Namespace Name Mixin selector official bLaog;b(Ljava/nio/file/Path;)Zintermediary method_26804Lnet/minecraft/class_5125;method_26804(Ljava/nio/file/Path;)Znamed isLockedLnet/minecraft/world/level/storage/SessionLock;isLocked(Ljava/nio/file/Path;)Z
 
 -