net.minecraft.server.v1_14_R1

public class ThreadedMailbox<T>

implements Mailbox<T>, AutoCloseable, Runnable

agq
net.minecraft.class_3846
net.minecraft.util.MailboxProcessor
net.minecraft.util.concurrent.DelegatedTaskExecutor
net.minecraft.server.v1_14_R1.ThreadedMailbox

Field summary

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

Constructor summary

ModifierConstructor
public (PairedQueue<? super T, ? extends Runnable> arg0, Executor arg1, String arg2)

Method summary

Modifier and TypeMethod
public static ThreadedMailbox<Runnable>
a(Executor arg0, String arg1)
method_16902(Executor arg0, String arg1)
create(Executor arg0, String arg1)
func_213144_a(Executor arg0, String arg1)
private boolean
a()
method_16903()
lock()
func_213146_a()
private void
b()
method_16904()
unlock()
func_213151_b()
private boolean
c()
method_16905()
hasMessages()
func_213149_c()
public void
close()
close()
close()
close()
private boolean
d()
method_16906()
isLocked()
func_213150_d()
private boolean
e()
method_16907()
runNext()
func_213148_e()
public void
run()
run()
run()
run()
public void
a(T arg0)
method_16901(T arg0)
send(T arg0)
func_212871_a_(T arg0)
private void
f()
method_16908()
execute()
func_213143_f()
private int
a(it.unimi.dsi.fastutil.ints.Int2BooleanFunction arg0)
method_16900(it.unimi.dsi.fastutil.ints.Int2BooleanFunction arg0)
run(it.unimi.dsi.fastutil.ints.Int2BooleanFunction arg0)
func_213145_a(it.unimi.dsi.fastutil.ints.Int2BooleanFunction arg0)
public String
bd()
method_16898()
getName()
func_213142_bd()