public class SimpleSupervisor extends java.lang.Object implements Supervisor
Supervisor
.Constructor and Description |
---|
SimpleSupervisor() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Task<?>> |
getTasks()
Get a list of running or queued tasks.
|
void |
monitor(Task<?> task)
Monitor the given task.
|
public java.util.List<Task<?>> getTasks()
Supervisor
getTasks
in interface Supervisor
public void monitor(Task<?> task)
Supervisor
monitor
in interface Supervisor
task
- the task