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, supplyAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, func_213141_a, inlineprivate 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()