final class ServerChunkManager.MainThreadExecutor extends ThreadExecutor<Runnable>
Modifier | Constructor and Description |
---|---|
private |
MainThreadExecutor(World world) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canExecute(Runnable task) |
protected Runnable |
createTask(Runnable runnable) |
protected void |
executeTask(Runnable task) |
protected Thread |
getThread() |
protected boolean |
runTask() |
protected boolean |
shouldExecuteAsync() |
cancelTasks, execute, getName, getTaskCount, isOnThread, runTasks, runTasks, send, submit, submit, submitAndJoin, waitForTasks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ask, close, create, method_27918
private MainThreadExecutor(World world)
protected Runnable createTask(Runnable runnable)
createTask
in class ThreadExecutor<Runnable>
protected boolean canExecute(Runnable task)
canExecute
in class ThreadExecutor<Runnable>
protected boolean shouldExecuteAsync()
shouldExecuteAsync
in class ThreadExecutor<Runnable>
protected Thread getThread()
getThread
in class ThreadExecutor<Runnable>
protected void executeTask(Runnable task)
executeTask
in class ThreadExecutor<Runnable>
protected boolean runTask()
runTask
in class ThreadExecutor<Runnable>