net.minecraft.world.level.chunk.storage

public class IOWorker

implements AutoCloseable

caz
net.minecraft.world.level.chunk.storage.IOWorker
net.minecraft.class_4698
net.minecraft.world.storage.StorageIoWorker
net.minecraft.world.chunk.storage.IOWorker
net.minecraft.server.v1_15_R1.IOWorker

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_21495
LOGGER
field_227080_a_
private final Thread
b
thread
field_21496
thread
field_227081_b_
private final AtomicBoolean
c
shutdownRequested
field_21497
closed
field_227082_c_
private final Queue<Runnable>
d
inbox
field_21498
tasks
field_227083_d_
private final RegionFileStorage
e
storage
field_21499
storage
field_227084_e_
private final Map<ChunkPos, IOWorker$PendingStore>
f
pendingWrites
field_21500
results
field_227085_f_
private boolean
g
running
field_21501
active
field_227086_g_
private CompletableFuture<Void>
h
shutdownListener
field_21502
future
field_227087_h_

Constructor summary

ModifierConstructor
(RegionFileStorage storage, String name)

Method summary

Modifier and TypeMethod
public CompletableFuture<Void>
a(bjh arg0, jt arg1)
store(ChunkPos arg0, CompoundTag arg1)
method_23703(class_1923 arg0, class_2487 arg1)
setResult(ChunkPos pos, CompoundTag nbt)
func_227093_a_(ChunkPos arg0, CompoundNBT arg1)
public CompoundTag
a(bjh arg0)
load(ChunkPos arg0)
method_23700(class_1923 arg0)
getNbt(ChunkPos pos)
func_227090_a_(ChunkPos arg0)
private CompletableFuture<Void>
b()
shutdown()
method_23710()
shutdown()
func_227100_b_()
public CompletableFuture<Void>
a()
synchronize()
method_23698()
completeAll()
func_227088_a_()
private <T> CompletableFuture<T>
a(Function<CompletableFuture<T>, Runnable> arg0)
submitTask(Function<CompletableFuture<T>, Runnable> arg0)
method_23709(Function<CompletableFuture<T>, Runnable> arg0)
run(Function<CompletableFuture<T>, Runnable> taskFactory)
func_227099_a_(Function<CompletableFuture<T>, Runnable> arg0)
private void
c()
waitForQueueNonEmpty()
method_23715()
park()
func_227105_c_()
private void
d()
loop()
method_23717()
work()
func_227107_d_()
private boolean
e()
storePendingChunk()
method_23719()
writeResult()
func_227109_e_()
private void
f()
storeRemainingPendingChunks()
method_23720()
writeAll()
func_227110_f_()
private void
a(bjh arg0, caz$a arg1)
runStore(ChunkPos arg0, IOWorker$PendingStore arg1)
method_23701(class_1923 arg0, class_4698$class_4699 arg1)
write(ChunkPos pos, StorageIoWorker$Result arg1)
func_227091_a_(ChunkPos arg0, IOWorker$Entry arg1)
private void
g()
closeStorage()
method_23721()
finish()
func_227111_g_()
private boolean
h()
processInbox()
method_23722()
runTask()
func_227112_h_()
public void
close()
close()
close()
close()