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