public class WorkerShutdownObserver extends Object implements WatchdogObserver
Constructor and Description |
---|
WorkerShutdownObserver(File logDir,
MaestroReceiverClient client) |
Modifier and Type | Method and Description |
---|---|
boolean |
onStop(List<WorkerRuntimeInfo> workers)
Actions that run on watchdog stop
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onStart
public WorkerShutdownObserver(File logDir, MaestroReceiverClient client)
public boolean onStop(List<WorkerRuntimeInfo> workers)
WatchdogObserver
onStop
in interface WatchdogObserver
workers
- a list of active workers and their informationThis documentation was released into the public domain.