net.minecraft.util.thread

public class ProcessorMailbox<T>

implements ProcessorHandle<T>, AutoCloseable, Runnable

aoe
net.minecraft.util.thread.ProcessorMailbox
net.minecraft.class_3846
net.minecraft.util.thread.TaskExecutor
net.minecraft.util.concurrent.DelegatedTaskExecutor
net.minecraft.server.v1_16_R3.ThreadedMailbox

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_17040
LOGGER
field_213153_b
private final AtomicInteger
c
status
field_17041
stateFlags
field_213154_c
public final StrictQueue<? super T, ? extends Runnable>
a
queue
field_17039
queue
field_213152_a
private final Executor
d
dispatcher
field_17042
executor
field_213155_d
private final String
e
name
field_17043
name
field_213156_e

Constructor summary

ModifierConstructor
public (StrictQueue<? super T, ? extends Runnable> queue, Executor executor, String name)

Method summary

Modifier and TypeMethod
public static ProcessorMailbox<Runnable>
a(Executor arg0, String arg1)
create(Executor arg0, String arg1)
method_16902(Executor arg0, String arg1)
create(Executor executor, String name)
func_213144_a(Executor arg0, String arg1)
private boolean
a()
setAsScheduled()
method_16903()
unpause()
func_213146_a()
private void
b()
setAsIdle()
method_16904()
pause()
func_213151_b()
private boolean
c()
canBeScheduled()
method_16905()
hasMessages()
func_213149_c()
public void
close()
close()
close()
close()
close()
private boolean
d()
shouldProcess()
method_16906()
isUnpaused()
func_213150_d()
private boolean
e()
pollTask()
method_16907()
runNext()
func_213148_e()
public void
run()
run()
run()
run()
run()
public void
a(T arg0)
tell(T arg0)
method_16901(T arg0)
send(T arg0)
func_212871_a_(T arg0)
private void
f()
registerForExecution()
method_16908()
execute()
func_213143_f()
private int
a(it.unimi.dsi.fastutil.ints.Int2BooleanFunction arg0)
pollUntil(it.unimi.dsi.fastutil.ints.Int2BooleanFunction arg0)
method_16900(it.unimi.dsi.fastutil.ints.Int2BooleanFunction arg0)
runWhile(it.unimi.dsi.fastutil.ints.Int2BooleanFunction condition)
func_213145_a(it.unimi.dsi.fastutil.ints.Int2BooleanFunction arg0)
public String
bj()
name()
method_16898()
getName()
func_213142_bd()