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