net.minecraft.util.thread

public abstract class BlockableEventLoop<R extends Runnable>

implements ProfilerMeasured, ProcessorHandle<R>, Executor

bir
net.minecraft.util.thread.BlockableEventLoop
net.minecraft.class_1255
net.minecraft.unmapped.C_wfxvpelc
net.minecraft.util.thread.ThreadExecutor
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
name
f_18680_
private static final org.slf4j.Logger
c
LOGGER
field_5751
f_kxdzbkhv
LOGGER
LOGGER
f_18681_
private final Queue<R>
d
pendingRunnables
field_5750
f_yvtuopon
tasks
tasks
f_18682_
private int
e
blockingCount
field_18319
f_pfyykeai
executionsInProgress
executionsInProgress
f_18683_

Constructor summary

ModifierConstructor
protected (String name)

Method summary

Modifier and TypeMethod
protected abstract R
f(Runnable arg0)
wrapRunnable(Runnable arg0)
method_16211(Runnable arg0)
m_lougoxia(Runnable arg0)
createTask(Runnable runnable)
createTask(Runnable runnable)
m_6681_(Runnable arg0)
protected abstract boolean
e(R arg0)
shouldRun(R arg0)
method_18856(R arg0)
m_numnjvus(R arg0)
canExecute(R task)
canExecute(R task)
m_6362_(R arg0)
public boolean
bq()
isSameThread()
method_18854()
m_zpwzffjx()
isOnThread()
isOnThread()
m_18695_()
protected abstract Thread
aw()
getRunningThread()
method_3777()
m_uvhkkife()
getThread()
getThread()
m_6304_()
protected boolean
av()
scheduleExecutables()
method_5384()
m_hpnksayn()
shouldExecuteAsync()
shouldExecuteAsync()
m_5660_()
public int
br()
getPendingTasksCount()
method_21684()
m_ujgbwjcf()
getTaskCount()
getTaskCount()
m_18696_()
public String
bs()
name()
method_16898()
m_lksanyte()
getName()
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)
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)
submitAsync(Runnable runnable)
m_18689_(Runnable arg0)
public CompletableFuture<Void>
g(Runnable arg0)
submit(Runnable arg0)
method_20493(Runnable arg0)
m_edmwbzwp(Runnable arg0)
submit(Runnable task)
submit(Runnable task)
m_18707_(Runnable arg0)
public void
h(Runnable arg0)
executeBlocking(Runnable arg0)
method_19537(Runnable arg0)
m_qqwrpvfd(Runnable arg0)
submitAndJoin(Runnable runnable)
submitAndJoin(Runnable runnable)
m_18709_(Runnable arg0)
public void
i(R arg0)
tell(R arg0)
method_18858(R arg0)
m_bfryvklq(R arg0)
send(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)
public void
c(Runnable arg0)
executeIfPossible(Runnable arg0)
method_40000(Runnable arg0)
m_pakonlbf(Runnable arg0)
executeSync(Runnable runnable)
executeIfPossible(Runnable runnable)
m_201446_(Runnable arg0)
protected void
bt()
dropAllTasks()
method_18855()
m_cevutxgz()
cancelTasks()
cancelTasks()
m_18698_()
protected void
bu()
runAllTasks()
method_5383()
m_vgbcguai()
runTasks()
runTasks()
m_18699_()
public boolean
x()
pollTask()
method_16075()
m_yxzbunwm()
runTask()
runTask()
m_7245_()
public void
c(BooleanSupplier arg0)
managedBlock(BooleanSupplier arg0)
method_18857(BooleanSupplier arg0)
m_awpmlrph(BooleanSupplier arg0)
runTasks(BooleanSupplier stopCondition)
runTasks(BooleanSupplier stopCondition)
m_18701_(BooleanSupplier arg0)
protected void
bv()
waitForTasks()
method_20813()
m_xakfizli()
waitForTasks()
waitForTasks()
m_5667_()
protected void
d(R arg0)
doRunTask(R arg0)
method_18859(R arg0)
m_eqxaqhzn(R arg0)
executeTask(R task)
executeTask(R task)
m_6367_(R arg0)
public List<MetricSampler>
bp()
profiledMetrics()
method_34705()
m_xvatidod()
createSamplers()
createSamplers()
m_142754_()