Package net.minecraft.util.concurrent
Class RecursiveEventLoop<R extends Runnable>
java.lang.Object
net.minecraft.util.concurrent.ThreadTaskExecutor<R>
net.minecraft.util.concurrent.RecursiveEventLoop<R>
- All Implemented Interfaces:
AutoCloseable
,Executor
,ITaskExecutor<R>
- Direct Known Subclasses:
Minecraft
,MinecraftServer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected boolean
protected boolean
Methods inherited from class net.minecraft.util.concurrent.ThreadTaskExecutor
dropAllTasks, execute, executeBlocking, getPendingTasksCount, getRunningThread, isSameThread, managedBlock, name, pollTask, runAllTasks, shouldRun, submit, submit, submitAsync, tell, waitForTasks, wrapRunnable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.concurrent.ITaskExecutor
ask, askEither, close
-
Field Details
-
reentrantCount
private int reentrantCount
-
-
Constructor Details
-
RecursiveEventLoop
-
-
Method Details
-
scheduleExecutables
protected boolean scheduleExecutables()- Overrides:
scheduleExecutables
in classThreadTaskExecutor<R extends Runnable>
-
runningTask
protected boolean runningTask() -
doRunTask
- Overrides:
doRunTask
in classThreadTaskExecutor<R extends Runnable>
-