public class LatencyWriterObserver extends Object implements WatchdogObserver
Constructor and Description |
---|
LatencyWriterObserver(WorkerLatencyWriter latencyWriter) |
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 LatencyWriterObserver(WorkerLatencyWriter latencyWriter)
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.