public interface ProbeReportHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
commence(String name,
String description) |
void |
heartbeat(ProbeStatus status)
A heartbeat event should be raised
|
void |
liveProbeCycleCompleted()
Event to say that the live probe cycle completed so the entire
system can be considered functional.
|
void |
probeBooted(ProbeStatus status)
A probe has just booted
|
void |
probeFailure(ProbeFailedException exception)
A probe has failed
|
void |
probeProcessStateChange(ProbePhase probePhase)
The probe process has changed state.
|
void |
probeResult(ProbePhase phase,
ProbeStatus status)
Report a probe outcome
|
void |
probeTimedOut(ProbePhase currentPhase,
Probe probe,
ProbeStatus lastStatus,
long currentTime)
A probe has timed out
|
void |
unregister() |
void probeProcessStateChange(ProbePhase probePhase)
probePhase - the new process phrasevoid probeResult(ProbePhase phase, ProbeStatus status)
phase - the current phase of probingstatus - the probe statusvoid probeFailure(ProbeFailedException exception)
void probeBooted(ProbeStatus status)
status - probe statusvoid unregister()
void heartbeat(ProbeStatus status)
status - the probe statusvoid probeTimedOut(ProbePhase currentPhase, Probe probe, ProbeStatus lastStatus, long currentTime)
currentPhase - the current execution phaseprobe - the probe that timed outlastStatus - the last status that was successfully received -which is implicitly
not the status of the timed out probecurrentTime - the current timevoid liveProbeCycleCompleted()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.