Package io.camunda.zeebe.util.health
Interface FailureListener
public interface FailureListener
Failure Listener invoked by a
HealthMonitorable component.-
Method Summary
Modifier and TypeMethodDescriptionvoidonFailure(HealthReport report) Invoked when the health status becomes unhealthy.voidInvoked when health status becomes healthy after being unhealthy for some time.voidonUnrecoverableFailure(HealthReport report) Invoked when the health status becomes dead and the system can't become healthy again without external intervention.
-
Method Details
-
onFailure
Invoked when the health status becomes unhealthy. -
onRecovered
void onRecovered()Invoked when health status becomes healthy after being unhealthy for some time. A component can be marked unhealthy initially and set to healthy only after start up is complete. It is expected to call {#onRecovered} when it is marked as healthy. -
onUnrecoverableFailure
Invoked when the health status becomes dead and the system can't become healthy again without external intervention.
-