- pendingTasks
Return the number of tasks that are pending for processing.Be aware that this
operation may be expen
- addShutdownHook
Add a Runnable which will be executed on shutdown of this instance
- addTask
Add a task to the task queue, or throws a RejectedExecutionException if this
instance was shutdown b
- afterRunningAllTasks
Invoked before returning from #runAllTasks() and #runAllTasks(long).
- cleanup
Do nothing, sub-classes may override
- confirmShutdown
Confirm that the shutdown if the instance should be done now!
- doStartThread
- execute
- fetchFromScheduledTaskQueue
- hasTasks
- inEventLoop
- isShutdown