net.minecraft.util.thread

public abstract class BlockableEventLoop<R extends Runnable>

implements ProfilerMeasured, ProcessorHandle<R>, Executor

aqu
net.minecraft.util.thread.BlockableEventLoop
net.minecraft.class_1255
net.minecraft.unmapped.C_wfxvpelc
net.minecraft.util.thread.ThreadExecutor
net.minecraft.src.C_449_
net.minecraft.util.thread.IAsyncTaskHandler

Field summary

Modifier and TypeField
private final String
b
name
field_18318
f_jbvsaprb
name
f_18680_
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_5751
f_kxdzbkhv
LOGGER
f_18681_
private final Queue<R>
d
pendingRunnables
field_5750
f_yvtuopon
tasks
f_18682_
private int
e
blockingCount
field_18319
f_pfyykeai
executionsInProgress
f_18683_

Constructor summary

ModifierConstructor
protected (String name)

Method summary

Modifier and TypeMethod
protected abstract R
e(Runnable arg0)
wrapRunnable(Runnable arg0)
method_16211(Runnable arg0)
m_lougoxia(Runnable arg0)
createTask(Runnable runnable)
m_6681_(Runnable arg0)
postToMainThread(Runnable arg0)
protected abstract boolean
d(R arg0)
shouldRun(R arg0)
method_18856(R arg0)
m_numnjvus(R arg0)
canExecute(R task)
m_6362_(R arg0)
canExecute(R arg0)
public boolean
bm()
isSameThread()
method_18854()
m_zpwzffjx()
isOnThread()
m_18695_()
isMainThread()
protected abstract Thread
av()
getRunningThread()
method_3777()
m_uvhkkife()
getThread()
m_6304_()
getThread()
protected boolean
au()
scheduleExecutables()
method_5384()
m_hpnksayn()
shouldExecuteAsync()
m_5660_()
isNotMainThread()
public int
bn()
getPendingTasksCount()
method_21684()
m_ujgbwjcf()
getTaskCount()
m_18696_()
public String
bo()
name()
method_16898()
m_lksanyte()
getName()
m_7326_()
public <V> CompletableFuture<V>
a(Supplier<V> arg0)
submit(Supplier<V> arg0)
method_5385(Supplier<V> arg0)
m_hxqyzuvd(Supplier<V> arg0)
submit(Supplier<V> task)
m_18691_(Supplier<V> arg0)
private CompletableFuture<Void>
a(Runnable arg0)
submitAsync(Runnable arg0)
method_5382(Runnable arg0)
m_jurnilqy(Runnable arg0)
submitAsync(Runnable runnable)
m_18689_(Runnable arg0)
executeFuture(Runnable arg0)
public CompletableFuture<Void>
f(Runnable arg0)
submit(Runnable arg0)
method_20493(Runnable arg0)
m_edmwbzwp(Runnable arg0)
submit(Runnable task)
m_18707_(Runnable arg0)
public void
g(Runnable arg0)
executeBlocking(Runnable arg0)
method_19537(Runnable arg0)
m_qqwrpvfd(Runnable arg0)
submitAndJoin(Runnable runnable)
m_18709_(Runnable arg0)
executeSync(Runnable arg0)
public void
h(R arg0)
tell(R arg0)
method_18858(R arg0)
m_bfryvklq(R arg0)
send(R arg0)
m_6937_(R arg0)
public void
execute(Runnable arg0)
execute(Runnable arg0)
execute(Runnable arg0)
execute(Runnable runnable)
execute(Runnable arg0)
protected void
bp()
dropAllTasks()
method_18855()
m_cevutxgz()
cancelTasks()
m_18698_()
protected void
bq()
runAllTasks()
method_5383()
m_vgbcguai()
runTasks()
m_18699_()
executeAll()
public boolean
z()
pollTask()
method_16075()
m_yxzbunwm()
runTask()
m_7245_()
executeNext()
public void
c(BooleanSupplier arg0)
managedBlock(BooleanSupplier arg0)
method_18857(BooleanSupplier arg0)
m_awpmlrph(BooleanSupplier arg0)
runTasks(BooleanSupplier stopCondition)
m_18701_(BooleanSupplier arg0)
awaitTasks(BooleanSupplier arg0)
protected void
br()
waitForTasks()
method_20813()
m_xakfizli()
waitForTasks()
m_5667_()
protected void
c(R arg0)
doRunTask(R arg0)
method_18859(R arg0)
m_eqxaqhzn(R arg0)
executeTask(R task)
m_6367_(R arg0)
executeTask(R arg0)
public List<MetricSampler>
bl()
profiledMetrics()
method_34705()
m_xvatidod()
getSamplers()
m_142754_()