Package com.codahale.metrics.health
Interface HealthCheckRegistryListener
-
- All Superinterfaces:
EventListener
public interface HealthCheckRegistryListener extends EventListener
A listener contract forHealthCheckRegistryevents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonHealthCheckAdded(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 Detail
-
onHealthCheckAdded
void onHealthCheckAdded(String name, HealthCheck healthCheck)
Called when a newHealthCheckis added to the registry.- Parameters:
name- the name of the health checkhealthCheck- the health check
-
onHealthCheckRemoved
void onHealthCheckRemoved(String name, HealthCheck healthCheck)
Called when aHealthCheckis removed from the registry.- Parameters:
name- the name of the health checkhealthCheck- the health check
-
-