net.minecraft.server.level

public class ChunkTaskPriorityQueueSorter

implements AutoCloseable, ChunkHolder$LevelChangeListener

zu
net.minecraft.server.level.ChunkTaskPriorityQueueSorter
net.minecraft.class_3900
net.minecraft.server.world.ChunkTaskPrioritySystem
net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter
net.minecraft.server.v1_16_R3.ChunkTaskQueueSorter

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_17248
LOGGER
field_219093_a
private final Map<ProcessorHandle<?>, ChunkTaskPriorityQueue<? extends Function<ProcessorHandle<Unit>, ?>>>
b
queues
field_17249
queues
field_219094_b
private final Set<ProcessorHandle<?>>
c
sleeping
field_17250
idleActors
field_219095_c
private final ProcessorMailbox<StrictQueue$IntRunnable>
d
mailbox
field_17251
controlActor
field_219096_d

Constructor summary

ModifierConstructor
public (List<ProcessorHandle<?>> actors, Executor executor, int maxQueues)

Method summary

Modifier and TypeMethod
public static ChunkTaskPriorityQueueSorter$Message<Runnable>
a(Runnable arg0, long arg1, IntSupplier arg2)
message(Runnable arg0, long arg1, IntSupplier arg2)
method_17626(Runnable arg0, long arg1, IntSupplier arg2)
createMessage(Runnable task, long pos, IntSupplier lastLevelUpdatedToProvider)
func_219069_a(Runnable arg0, long arg1, IntSupplier arg2)
public static ChunkTaskPriorityQueueSorter$Message<Runnable>
a(zr arg0, Runnable arg1)
message(ChunkHolder arg0, Runnable arg1)
method_17629(class_3193 arg0, Runnable arg1)
createMessage(ChunkHolder holder, Runnable task)
func_219081_a(ChunkHolder arg0, Runnable arg1)
public static ChunkTaskPriorityQueueSorter$Release
a(Runnable arg0, long arg1, boolean arg2)
release(Runnable arg0, long arg1, boolean arg2)
method_17627(Runnable arg0, long arg1, boolean arg2)
createUnblockingMessage(Runnable task, long pos, boolean removeTask)
func_219073_a(Runnable arg0, long arg1, boolean arg2)
public <T> ProcessorHandle<ChunkTaskPriorityQueueSorter$Message<T>>
a(aod<T> arg0, boolean arg1)
getProcessor(ProcessorHandle<T> arg0, boolean arg1)
method_17622(class_3906<T> arg0, boolean arg1)
createExecutor(MessageListener<T> executor, boolean addBlocker)
func_219087_a(ITaskExecutor<T> arg0, boolean arg1)
public ProcessorHandle<ChunkTaskPriorityQueueSorter$Release>
a(aod<Runnable> arg0)
getReleaseProcessor(ProcessorHandle<Runnable> arg0)
method_17614(class_3906<Runnable> arg0)
createUnblockingExecutor(MessageListener<Runnable> executor)
func_219091_a(ITaskExecutor<Runnable> arg0)
public void
a(brd arg0, IntSupplier arg1, int arg2, IntConsumer arg3)
onLevelChange(ChunkPos arg0, IntSupplier arg1, int arg2, IntConsumer arg3)
method_17209(class_1923 arg0, IntSupplier arg1, int arg2, IntConsumer arg3)
updateLevel(ChunkPos arg0, IntSupplier arg1, int arg2, IntConsumer arg3)
func_219066_a(ChunkPos arg0, IntSupplier arg1, int arg2, IntConsumer arg3)
private <T> void
a(aod<T> arg0, long arg1, Runnable arg2, boolean arg3)
release(ProcessorHandle<T> arg0, long arg1, Runnable arg2, boolean arg3)
method_17615(class_3906<T> arg0, long arg1, Runnable arg2, boolean arg3)
removeChunk(MessageListener<T> actor, long chunkPos, Runnable callback, boolean clearTask)
func_219074_a(ITaskExecutor<T> arg0, long arg1, Runnable arg2, boolean arg3)
private <T> void
a(aod<T> arg0, Function<aod<afx>, T> arg1, long arg2, IntSupplier arg3, boolean arg4)
submit(ProcessorHandle<T> arg0, Function<ProcessorHandle<Unit>, T> arg1, long arg2, IntSupplier arg3, boolean arg4)
method_17282(class_3906<T> arg0, Function<class_3906<class_3902>, T> arg1, long arg2, IntSupplier arg3, boolean arg4)
enqueueChunk(MessageListener<T> actor, Function<MessageListener<Unit>, T> task, long chunkPos, IntSupplier lastLevelUpdatedToProvider, boolean addBlocker)
func_219067_a(ITaskExecutor<T> arg0, Function<ITaskExecutor<Unit>, T> arg1, long arg2, IntSupplier arg3, boolean arg4)
private <T> void
a(zt<Function<aod<afx>, T>> arg0, aod<T> arg1)
pollTask(ChunkTaskPriorityQueue<Function<ProcessorHandle<Unit>, T>> arg0, ProcessorHandle<T> arg1)
method_17630(class_3899<Function<class_3906<class_3902>, T>> arg0, class_3906<T> arg1)
enqueueExecution(LevelPrioritizedQueue<Function<MessageListener<Unit>, T>> queue, MessageListener<T> actor)
func_219078_a(ChunkTaskPriorityQueue<Function<ITaskExecutor<Unit>, T>> arg0, ITaskExecutor<T> arg1)
private <T> ChunkTaskPriorityQueue<Function<ProcessorHandle<Unit>, T>>
b(aod<T> arg0)
getQueue(ProcessorHandle<T> arg0)
method_17632(class_3906<T> arg0)
getQueue(MessageListener<T> actor)
func_219068_b(ITaskExecutor<T> arg0)
public String
a()
getDebugStatus()
method_21680()
getDebugString()
func_225396_a()
public void
close()
close()
close()
close()
close()