- <init>
Creates a new ScheduledThreadPoolExecutor with the given initial parameters.
- remove
- schedule
- canRunInCurrentRunState
Returns true if can run a task given current run state and run-after-shutdown
parameters.
- decorateTask
Modifies or replaces the task used to execute a runnable. This method can be
used to override the co
- delayedExecute
Main execution method for delayed or periodic tasks. If pool is shut down,
rejects the task. Otherwi
- getContinueExistingPeriodicTasksAfterShutdownPolicy
Gets the policy on whether to continue executing existing periodic tasks even
when this executor has
- getExecuteExistingDelayedTasksAfterShutdownPolicy
Gets the policy on whether to execute existing delayed tasks even when this
executor has been shutdo
- isRunningOrShutdown
- isShutdown
- now
Returns current nanosecond time.
- onShutdown
Cancels and clears the queue of all tasks that should not be run due to shutdown
policy. Invoked wit