public interface HealthCheckRegistryListener extends EventListener
HealthCheckRegistry
events.Modifier and Type | Method and Description |
---|---|
void |
onHealthCheckAdded(String name,
HealthCheck healthCheck)
Called when a new
HealthCheck is added to the registry. |
void |
onHealthCheckRemoved(String name,
HealthCheck healthCheck)
Called when a
HealthCheck is removed from the registry. |
void onHealthCheckAdded(String name, HealthCheck healthCheck)
HealthCheck
is added to the registry.name
- the name of the health checkhealthCheck
- the health checkvoid onHealthCheckRemoved(String name, HealthCheck healthCheck)
HealthCheck
is removed from the registry.name
- the name of the health checkhealthCheck
- the health checkCopyright © 2020. All Rights Reserved.