public class StaleObserver extends Object implements WatchdogObserver
Constructor and Description |
---|
StaleObserver(WorkerStaleChecker workerStaleChecker) |
Modifier and Type | Method and Description |
---|---|
boolean |
onStart()
Actions that run on watchdog start
|
boolean |
onStop(List<WorkerRuntimeInfo> workerRuntimeInfos)
Actions that run on watchdog stop
|
public StaleObserver(WorkerStaleChecker workerStaleChecker)
public boolean onStart()
WatchdogObserver
onStart
in interface WatchdogObserver
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.