net.minecraft.util.thread

public abstract class AbstractConsecutiveExecutor<T extends Runnable>

implements ProfilerMeasured, TaskScheduler<T>, Runnable

brx
net.minecraft.util.thread.AbstractConsecutiveExecutor
net.minecraft.class_10174
net.minecraft.util.thread.ConsecutiveExecutor
net.minecraft.util.thread.AbstractConsecutiveExecutor

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_54069
LOGGER
private final AtomicReference<AbstractConsecutiveExecutor$Status>
b
status
field_54070
status
private final StrictQueue<T>
c
queue
field_54071
queue
private final Executor
d
executor
field_54072
executor
private final String
e
name
field_54073
name

Constructor summary

ModifierConstructor
public (StrictQueue<T> queue, Executor executor, String name)

Method summary

Modifier and TypeMethod
private boolean
e()
canBeScheduled()
method_63591()
canRun()
public void
close()
close()
private boolean
f()
pollTask()
method_63592()
runOnce()
public void
run()
run()
public void
a()
runAll()
method_63587()
runAll()
public void
a_(T arg0)
schedule(T arg0)
method_63588(T arg0)
send(T arg0)
private void
g()
registerForExecution()
method_63593()
scheduleSelf()
public int
b()
size()
method_63589()
queueSize()
public boolean
c()
hasWork()
method_63590()
hasQueuedTasks()
public String
A_()
name()
method_16898()
getName()
public List<MetricSampler>
bw()
profiledMetrics()
method_34705()
createSamplers()
private boolean
h()
setRunning()
method_63594()
wakeUp()
private void
i()
setSleeping()
method_63595()
sleep()
private boolean
j()
isRunning()
method_63596()
isRunning()
private boolean
k()
isClosed()
method_63597()
isClosed()