Method Summary | |
|
Execute command with zero required delay. |
|
Get the policy on whether to continue executing existing periodic tasks even when this executor has been shutdown. |
|
Get policy on whether to execute existing delayed tasks even when this executor has been shutdown. |
|
Returns the task queue used by this executor. |
|
Removes this task from the executor's internal queue if it is present, thus causing it not to be run if it has not already started. |
Creates and executes a ScheduledFuture that becomes enabled after the given delay. | |
|
Creates and executes a one-shot action that becomes enabled after the given delay. |
|
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on. |
|
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next. |
|
Set policy on whether to continue executing existing periodic tasks even when this executor has been shutdown. |
|
Set policy on whether to execute existing delayed tasks even when this executor has been shutdown. |
|
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted. |
|
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution. |
Submits a value-returning task for execution and returns a Future representing the pending results of the task. | |
|
Submits a Runnable task for execution and returns a Future representing that task. |
Submits a Runnable task for execution and returns a Future representing that task that will upon completion return the given result |
|