public interface IExecutionService
Modifier and Type | Method and Description |
---|---|
IFuture<java.lang.Void> |
cancel(IExecutable task)
Cancel a task.
|
void |
execute(IExecutable task)
Execute a task.
|
IFuture<java.lang.Void> |
getNextIdleFuture()
Get the future indicating that executor is idle.
|
IExecutable[] |
getRunningTasks()
Get the currently running or waiting tasks.
|
void execute(IExecutable task)
task
- The task to execute.IFuture<java.lang.Void> cancel(IExecutable task)
task
- The task to execute.IExecutable[] getRunningTasks()
IFuture<java.lang.Void> getNextIdleFuture()