net.minecraft.util.thread

public abstract class BlockableEventLoop<R extends Runnable>

implements ProcessorHandle<R>, Executor

agq
net.minecraft.util.thread.BlockableEventLoop
net.minecraft.class_1255
net.minecraft.util.thread.ThreadExecutor
net.minecraft.util.concurrent.ThreadTaskExecutor
net.minecraft.server.v1_14_R1.IAsyncTaskHandler

Field summary

Modifier and TypeField
private final String
b
name
field_18318
name
field_213171_b
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_5751
LOGGER
field_213172_c
private final Queue<R>
d
pendingRunnables
field_5750
tasks
field_213173_d
private int
e
blockingCount
field_18319
executionsInProgress
field_213174_e

Constructor summary

ModifierConstructor
protected (String arg0)

Method summary

Modifier and TypeMethod
protected abstract R
d(Runnable arg0)
wrapRunnable(Runnable arg0)
method_16211(Runnable arg0)
createTask(Runnable runnable)
func_212875_d_(Runnable arg0)
postToMainThread(Runnable arg0)
protected abstract boolean
c(R arg0)
shouldRun(R arg0)
method_18856(R arg0)
canExecute(R task)
func_212874_c_(R arg0)
canExecute(R arg0)
public boolean
bd()
isSameThread()
method_18854()
isOnThread()
func_213162_bc()
isMainThread()
protected abstract Thread
ay()
getRunningThread()
method_3777()
getThread()
func_213170_ax()
getThread()
protected boolean
ax()
scheduleExecutables()
method_5384()
shouldExecuteAsync()
func_213164_aw()
isNotMainThread()
public int
be()
getPendingTasksCount()
method_21684()
func_223704_be()
public String
bf()
name()
method_16898()
getName()
func_213142_bd()
private CompletableFuture<Void>
a(Runnable arg0)
submitAsync(Runnable arg0)
method_5382(Runnable arg0)
submitAsync(Runnable runnable)
func_213165_a(Runnable arg0)
executeFuture(Runnable arg0)
public CompletableFuture<Void>
e(Runnable arg0)
submit(Runnable arg0)
method_20493(Runnable arg0)
func_222817_e(Runnable arg0)
public void
f(Runnable arg0)
executeBlocking(Runnable arg0)
method_19537(Runnable arg0)
submitAndJoin(Runnable runnable)
func_213167_f(Runnable arg0)
executeSync(Runnable arg0)
public void
g(R arg0)
tell(R arg0)
method_18858(R arg0)
send(R arg0)
func_212871_a_(R arg0)
public void
execute(Runnable arg0)
execute(Runnable arg0)
execute(Runnable arg0)
execute(Runnable arg0)
protected void
bh()
runAllTasks()
method_5383()
runTasks()
func_213160_bf()
executeAll()
protected boolean
q()
pollTask()
method_16075()
runTask()
func_213168_p()
executeNext()
public void
c(BooleanSupplier arg0)
managedBlock(BooleanSupplier arg0)
method_18857(BooleanSupplier arg0)
runTasks(BooleanSupplier stopCondition)
func_213161_c(BooleanSupplier arg0)
awaitTasks(BooleanSupplier arg0)
protected void
bi()
waitForTasks()
method_20813()
func_223705_bi()
protected void
h(R arg0)
doRunTask(R arg0)
method_18859(R arg0)
executeTask(R task)
func_213166_h(R arg0)
executeTask(R arg0)
public <V> CompletableFuture<V>
a(Supplier<V> arg0)
submit(Supplier<V> arg0)
method_5385(Supplier<V> arg0)
submit(Supplier<V> task)
func_213169_a(Supplier<V> arg0)
protected void
bg()
dropAllTasks()
method_18855()
cancelTasks()
func_213159_be()