Package net.minecraft.util.thread
Class ReentrantBlockableEventLoop<R extends Runnable>
java.lang.Object
net.minecraft.util.thread.BlockableEventLoop<R>
net.minecraft.util.thread.ReentrantBlockableEventLoop<R>
- All Implemented Interfaces:
- AutoCloseable,- Executor,- ProfilerMeasured,- ProcessorHandle<R>
- Direct Known Subclasses:
- Minecraft,- MinecraftServer
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidprotected booleanbooleanMethods inherited from class net.minecraft.util.thread.BlockableEventLoopdropAllTasks, execute, executeBlocking, executeIfPossible, getPendingTasksCount, getRunningThread, isSameThread, managedBlock, name, pollTask, profiledMetrics, runAllTasks, shouldRun, submit, submit, submitAsync, tell, waitForTasks, wrapRunnableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.thread.ProcessorHandleask, askEither, close
- 
Field Details- 
reentrantCountprivate int reentrantCount
 
- 
- 
Constructor Details- 
ReentrantBlockableEventLoop
 
- 
- 
Method Details- 
scheduleExecutablespublic boolean scheduleExecutables()- Overrides:
- scheduleExecutablesin class- BlockableEventLoop<R extends Runnable>
 
- 
runningTaskprotected boolean runningTask()
- 
doRunTask- Overrides:
- doRunTaskin class- BlockableEventLoop<R extends Runnable>
 
 
-