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, waitForTasksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitask, close, create, method_27918private 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>