net.minecraft.util.thread

public abstract class BlockableEventLoop<R extends Runnable>

implements ProfilerMeasured, TaskScheduler<R>, Executor

bry
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
public static final long
k
BLOCK_TIME_NANOS
field_52421
f_dekdzqnq
field_52421
f_347022_
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 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
bx()
isSameThread()
method_18854()
m_zpwzffjx()
isOnThread()
isOnThread()
m_18695_()
protected abstract Thread
ay()
getRunningThread()
method_3777()
m_uvhkkife()
getThread()
getThread()
m_6304_()
protected boolean
ax()
scheduleExecutables()
method_5384()
m_hpnksayn()
shouldExecuteAsync()
shouldExecuteAsync()
m_5660_()
public int
by()
getPendingTasksCount()
method_21684()
m_ujgbwjcf()
getTaskCount()
getTaskCount()
m_18696_()
public String
A_()
name()
method_16898()
m_okszbqlm()
getName()
m_18697_()
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>
b(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
a_(R arg0)
schedule(R arg0)
method_63588(R arg0)
m_xvyrjvsb(R arg0)
send(R arg0)
m_18711_(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
bz()
dropAllTasks()
method_18855()
m_cevutxgz()
cancelTasks()
cancelTasks()
m_18698_()
protected void
bA()
runAllTasks()
method_5383()
m_vgbcguai()
runTasks()
runTasks()
m_18699_()
public boolean
B()
pollTask()
method_16075()
m_yxzbunwm()
runTask()
runTask()
m_7245_()
public void
b(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
A()
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>
bw()
profiledMetrics()
method_34705()
m_xvatidod()
createSamplers()
createSamplers()
m_142754_()
public static boolean
a(Throwable arg0)
isNonRecoverable(Throwable arg0)
method_61391(Throwable arg0)
m_whuexbgr(Throwable arg0)
isMemoryError(Throwable exception)
m_357486_(Throwable p_366916_)