Package com.codahale.metrics.health
Interface HealthCheckRegistryListener
- All Superinterfaces:
EventListener
A listener contract for
HealthCheckRegistry events.-
Method Summary
Modifier and TypeMethodDescriptionvoidonHealthCheckAdded(String name, HealthCheck healthCheck) Called when a newHealthCheckis added to the registry.voidonHealthCheckRemoved(String name, HealthCheck healthCheck) Called when aHealthCheckis removed from the registry.
-
Method Details
-
onHealthCheckAdded
Called when a newHealthCheckis added to the registry.- Parameters:
name- the name of the health checkhealthCheck- the health check
-
onHealthCheckRemoved
Called when aHealthCheckis removed from the registry.- Parameters:
name- the name of the health checkhealthCheck- the health check
-