- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- SerializingExecutor
private class SerializingExecutor.TaskRunner
extends java.lang.Object
implements java.lang.Runnable
Task that actually runs the Runnables. It takes the Runnables off of the
queue one by one and runs them. After it is done with all Runnables and
there are no more to run, puts the SerializingExecutor in the state where
isThreadScheduled = false and returns. This allows the current worker
thread to return to the original pool.