net.minecraft.server.level

public class ChunkTaskPriorityQueueSorter

implements AutoCloseable, ChunkHolder$LevelChangeListener

uy
net.minecraft.server.level.ChunkTaskPriorityQueueSorter
net.minecraft.class_3900
net.minecraft.server.world.ChunkTaskPrioritySystem
net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter
net.minecraft.server.v1_14_R1.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
actors
field_219095_c
private final ProcessorMailbox<StrictQueue$IntRunnable>
d
mailbox
field_17251
sorter
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 runnable, long pos, IntSupplier lastLevelUpdatedToProvider)
func_219069_a(Runnable arg0, long arg1, IntSupplier arg2)
public static ChunkTaskPriorityQueueSorter$Message<Runnable>
a(uv arg0, Runnable arg1)
message(ChunkHolder arg0, Runnable arg1)
method_17629(class_3193 arg0, Runnable arg1)
createMessage(ChunkHolder holder, Runnable runnable)
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)
createSorterMessage(Runnable runnable, long pos, boolean arg2)
func_219073_a(Runnable arg0, long arg1, boolean arg2)
public <T> ProcessorHandle<ChunkTaskPriorityQueueSorter$Message<T>>
a(ags<T> arg0, boolean arg1)
getProcessor(ProcessorHandle<T> arg0, boolean arg1)
method_17622(class_3906<T> arg0, boolean arg1)
createExecutor(MessageListener<T> executor, boolean arg1)
func_219087_a(ITaskExecutor<T> arg0, boolean arg1)
public ProcessorHandle<ChunkTaskPriorityQueueSorter$Release>
a(ags<Runnable> arg0)
getReleaseProcessor(ProcessorHandle<Runnable> arg0)
method_17614(class_3906<Runnable> arg0)
createSorterExecutor(MessageListener<Runnable> executor)
func_219091_a(ITaskExecutor<Runnable> arg0)
public void
a(bhd 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(ags<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)
sort(MessageListener<T> arg0, long arg1, Runnable arg2, boolean arg3)
func_219074_a(ITaskExecutor<T> arg0, long arg1, Runnable arg2, boolean arg3)
private <T> void
a(ags<T> arg0, Function<ags<aag>, 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)
execute(MessageListener<T> actor, Function<MessageListener<Unit>, T> arg1, long arg2, IntSupplier lastLevelUpdatedToProvider, boolean arg4)
func_219067_a(ITaskExecutor<T> arg0, Function<ITaskExecutor<Unit>, T> arg1, long arg2, IntSupplier arg3, boolean arg4)
private <T> void
a(ux<Function<ags<aag>, T>> arg0, ags<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)
method_17630(LevelPrioritizedQueue<Function<MessageListener<Unit>, T>> arg0, MessageListener<T> actor)
func_219078_a(ChunkTaskPriorityQueue<Function<ITaskExecutor<Unit>, T>> arg0, ITaskExecutor<T> arg1)
private <T> ChunkTaskPriorityQueue<Function<ProcessorHandle<Unit>, T>>
b(ags<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()
func_225396_a()
public void
close()
close()
close()
close()