Package net.minecraft.client.sounds
Class SoundEngineExecutor
java.lang.Object
net.minecraft.util.thread.BlockableEventLoop<Runnable>
net.minecraft.client.sounds.SoundEngineExecutor
- All Implemented Interfaces:
- AutoCloseable,- Executor,- ProfilerMeasured,- ProcessorHandle<Runnable>
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.util.thread.BlockableEventLoopdoRunTask, dropAllTasks, execute, executeBlocking, executeIfPossible, getPendingTasksCount, isSameThread, managedBlock, name, pollTask, profiledMetrics, runAllTasks, scheduleExecutables, submit, submit, submitAsync, tellMethods 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- 
thread
- 
shutdownprivate volatile boolean shutdown
 
- 
- 
Constructor Details- 
SoundEngineExecutorpublic SoundEngineExecutor()
 
- 
- 
Method Details- 
createThread
- 
wrapRunnable- Specified by:
- wrapRunnablein class- BlockableEventLoop<Runnable>
 
- 
shouldRun- Specified by:
- shouldRunin class- BlockableEventLoop<Runnable>
 
- 
getRunningThread- Specified by:
- getRunningThreadin class- BlockableEventLoop<Runnable>
 
- 
runprivate void run()
- 
waitForTasksprotected void waitForTasks()- Overrides:
- waitForTasksin class- BlockableEventLoop<Runnable>
 
- 
flushpublic void flush()
 
-