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