public class HealthRegistry extends Object
| Modifier and Type | Method and Description |
|---|---|
static HealthRegistry |
getInstance()
Returns singleton HealthRegistry instance
|
List<org.eclipse.microprofile.health.HealthCheckResponse> |
getResults()
Executes health checks in parallel and returns results.
|
void |
register(String healthCheckName,
org.eclipse.microprofile.health.HealthCheck healthCheck)
Adds health check to registry.
|
void |
unregister(String healthCheckName)
Removes health check from registry.
|
public static HealthRegistry getInstance()
public void register(String healthCheckName, org.eclipse.microprofile.health.HealthCheck healthCheck)
healthCheckName - healthCheck - public void unregister(String healthCheckName)
healthCheckName - public List<org.eclipse.microprofile.health.HealthCheckResponse> getResults()
Copyright © 2017–2018. All rights reserved.