public class SimpleSupervisor extends Object implements Supervisor
Supervisor.| Constructor and Description |
|---|
SimpleSupervisor() |
| Modifier and Type | Method and Description |
|---|---|
List<Task<?>> |
getTasks()
Get a list of running or queued tasks.
|
void |
monitor(Task<?> task)
Monitor the given task.
|
public List<Task<?>> getTasks()
SupervisorgetTasks in interface Supervisorpublic void monitor(Task<?> task)
Supervisormonitor in interface Supervisortask - the taskCopyright © 2015. All Rights Reserved.