public class SoundEngineExecutor extends ThreadTaskExecutor<java.lang.Runnable>
Modifier and Type | Field and Description |
---|---|
private java.lang.Thread |
executionThread |
private boolean |
stopped |
Constructor and Description |
---|
SoundEngineExecutor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canRun(java.lang.Runnable runnable) |
private java.lang.Thread |
createExecutionThread() |
protected java.lang.Thread |
getExecutionThread() |
void |
restart() |
private void |
run() |
protected void |
threadYieldPark() |
protected java.lang.Runnable |
wrapTask(java.lang.Runnable runnable) |
deferTask, drainTasks, driveOne, driveUntil, dropTasks, enqueue, execute, getName, getQueueSize, isOnExecutionThread, run, runAsync, runImmediately, shouldDeferTasks, supplyAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, func_213141_a, inline
private java.lang.Thread executionThread
private volatile boolean stopped
private java.lang.Thread createExecutionThread()
protected java.lang.Runnable wrapTask(java.lang.Runnable runnable)
wrapTask
in class ThreadTaskExecutor<java.lang.Runnable>
protected boolean canRun(java.lang.Runnable runnable)
canRun
in class ThreadTaskExecutor<java.lang.Runnable>
protected java.lang.Thread getExecutionThread()
getExecutionThread
in class ThreadTaskExecutor<java.lang.Runnable>
private void run()
protected void threadYieldPark()
threadYieldPark
in class ThreadTaskExecutor<java.lang.Runnable>
public void restart()