net.minecraft.world.level.chunk.storage

public class IOWorker

implements AutoCloseable

caw
net.minecraft.world.level.chunk.storage.IOWorker
net.minecraft.class_4698
net.minecraft.unmapped.C_ffgsaknh
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
f_wtxzpjxm
LOGGER
field_227080_a_
private final Thread
b
thread
field_21496
f_fngojizt
thread
field_227081_b_
private final AtomicBoolean
c
shutdownRequested
field_21497
f_prbotxpi
closed
field_227082_c_
private final Queue<Runnable>
d
inbox
field_21498
f_wtywzwsz
tasks
field_227083_d_
private final RegionFileStorage
e
storage
field_21499
f_ebctbref
storage
field_227084_e_
private final Map<ChunkPos, IOWorker$PendingStore>
f
pendingWrites
field_21500
f_pyjvjyaq
results
field_227085_f_
private boolean
g
running
field_21501
f_vgkjdajh
active
field_227086_g_
private CompletableFuture<Void>
h
shutdownListener
field_21502
f_lrqojbbi
future
field_227087_h_

Constructor summary

ModifierConstructor
(RegionFileStorage storage, String name)

Method summary

Modifier and TypeMethod
public CompletableFuture<Void>
a(bje arg0, jt arg1)
store(ChunkPos arg0, CompoundTag arg1)
method_23703(class_1923 arg0, class_2487 arg1)
m_ipwbxzat(C_ynrszrtu arg0, C_hhlwcnih arg1)
setResult(ChunkPos pos, CompoundTag nbt)
func_227093_a_(ChunkPos arg0, CompoundNBT arg1)
public CompoundTag
a(bje arg0)
load(ChunkPos arg0)
method_23700(class_1923 arg0)
m_cmtkekmp(C_ynrszrtu arg0)
getNbt(ChunkPos pos)
func_227090_a_(ChunkPos arg0)
private CompletableFuture<Void>
b()
shutdown()
method_23710()
m_fdghpsbx()
shutdown()
func_227100_b_()
public CompletableFuture<Void>
a()
synchronize()
method_23698()
m_jjukvdrp()
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)
m_nghssqns(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()
m_vqilndrh()
park()
func_227105_c_()
private void
d()
loop()
method_23717()
m_fzcgkhss()
work()
func_227107_d_()
private boolean
e()
storePendingChunk()
method_23719()
m_tfcrrgaw()
writeResult()
func_227109_e_()
private void
f()
storeRemainingPendingChunks()
method_23720()
m_jafketat()
writeAll()
func_227110_f_()
private void
a(bje arg0, caw$a arg1)
runStore(ChunkPos arg0, IOWorker$PendingStore arg1)
method_23701(class_1923 arg0, class_4698$class_4699 arg1)
m_zosiugiq(C_ynrszrtu arg0, C_ffgsaknh$C_bwprgfor arg1)
write(ChunkPos pos, StorageIoWorker$Result arg1)
func_227091_a_(ChunkPos arg0, IOWorker$Entry arg1)
private void
g()
closeStorage()
method_23721()
m_idspcyjm()
finish()
func_227111_g_()
private boolean
h()
processInbox()
method_23722()
m_pexfkdbj()
runTask()
func_227112_h_()
public void
close()
close()
close()
close()