类 ServerChunkCache.MainThreadExecutor
java.lang.Object
net.minecraft.util.thread.BlockableEventLoop<Runnable>
net.minecraft.server.level.ServerChunkCache.MainThreadExecutor
- 所有已实现的接口:
AutoCloseable
,Executor
,ProfilerMeasured
,ProcessorHandle<Runnable>
- 封闭类:
- ServerChunkCache
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
protected Thread
boolean
pollTask()
protected boolean
protected boolean
protected Runnable
wrapRunnable
(Runnable pRunnable) 从类继承的方法 net.minecraft.util.thread.BlockableEventLoop
dropAllTasks, execute, executeBlocking, executeIfPossible, getPendingTasksCount, isSameThread, managedBlock, name, profiledMetrics, runAllTasks, submit, submit, submitAsync, tell, waitForTasks
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.util.thread.ProcessorHandle
ask, askEither, close
-
构造器详细资料
-
MainThreadExecutor
MainThreadExecutor(Level pLevel)
-
-
方法详细资料
-
wrapRunnable
- 指定者:
wrapRunnable
在类中BlockableEventLoop<Runnable>
-
shouldRun
- 指定者:
shouldRun
在类中BlockableEventLoop<Runnable>
-
scheduleExecutables
protected boolean scheduleExecutables() -
getRunningThread
- 指定者:
getRunningThread
在类中BlockableEventLoop<Runnable>
-
doRunTask
- 覆盖:
doRunTask
在类中BlockableEventLoop<Runnable>
-
pollTask
public boolean pollTask()- 覆盖:
pollTask
在类中BlockableEventLoop<Runnable>
-