public class IOWorker
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Class and Description |
---|---|
(package private) static class |
IOWorker.Entry |
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
field_227080_a_ |
private java.lang.Thread |
field_227081_b_ |
private java.util.concurrent.atomic.AtomicBoolean |
field_227082_c_ |
private java.util.Queue<java.lang.Runnable> |
field_227083_d_ |
private RegionFileCache |
field_227084_e_ |
private java.util.Map<ChunkPos,IOWorker.Entry> |
field_227085_f_ |
private boolean |
field_227086_g_ |
private java.util.concurrent.CompletableFuture<java.lang.Void> |
field_227087_h_ |
Constructor and Description |
---|
IOWorker(RegionFileCache p_i225782_1_,
java.lang.String p_i225782_2_) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.concurrent.CompletableFuture<java.lang.Void> |
func_227088_a_() |
CompoundNBT |
func_227090_a_(ChunkPos p_227090_1_) |
private void |
func_227091_a_(ChunkPos p_227091_1_,
IOWorker.Entry p_227091_2_) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
func_227093_a_(ChunkPos p_227093_1_,
CompoundNBT p_227093_2_) |
private <T> java.util.concurrent.CompletableFuture<T> |
func_227099_a_(java.util.function.Function<java.util.concurrent.CompletableFuture<T>,java.lang.Runnable> p_227099_1_) |
private java.util.concurrent.CompletableFuture<java.lang.Void> |
func_227100_b_() |
private void |
func_227105_c_() |
private void |
func_227107_d_() |
private boolean |
func_227109_e_() |
private void |
func_227110_f_() |
private void |
func_227111_g_() |
private boolean |
func_227112_h_() |
private static final org.apache.logging.log4j.Logger field_227080_a_
private final java.lang.Thread field_227081_b_
private final java.util.concurrent.atomic.AtomicBoolean field_227082_c_
private final java.util.Queue<java.lang.Runnable> field_227083_d_
private final RegionFileCache field_227084_e_
private final java.util.Map<ChunkPos,IOWorker.Entry> field_227085_f_
private boolean field_227086_g_
private java.util.concurrent.CompletableFuture<java.lang.Void> field_227087_h_
IOWorker(RegionFileCache p_i225782_1_, java.lang.String p_i225782_2_)
public java.util.concurrent.CompletableFuture<java.lang.Void> func_227093_a_(ChunkPos p_227093_1_, CompoundNBT p_227093_2_)
@Nullable public CompoundNBT func_227090_a_(ChunkPos p_227090_1_) throws java.io.IOException
java.io.IOException
private java.util.concurrent.CompletableFuture<java.lang.Void> func_227100_b_()
public java.util.concurrent.CompletableFuture<java.lang.Void> func_227088_a_()
private <T> java.util.concurrent.CompletableFuture<T> func_227099_a_(java.util.function.Function<java.util.concurrent.CompletableFuture<T>,java.lang.Runnable> p_227099_1_)
private void func_227105_c_()
private void func_227107_d_()
private boolean func_227109_e_()
private void func_227110_f_()
private void func_227091_a_(ChunkPos p_227091_1_, IOWorker.Entry p_227091_2_)
private void func_227111_g_()
private boolean func_227112_h_()
public void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
java.io.IOException