Package com.graphhopper.resources
Class HealthCheckResource
java.lang.Object
com.graphhopper.resources.HealthCheckResource
This is a public facing health check that runs all registered health checks.
Instead of providing details like the admin health check, this only returns OK/200 or UNHEALTHY/500.
- Author:
- Robin Boldt
-
Constructor Summary
ConstructorsConstructorDescriptionHealthCheckResource
(com.codahale.metrics.health.HealthCheckRegistry registry) -
Method Summary
-
Constructor Details
-
HealthCheckResource
@Inject public HealthCheckResource(com.codahale.metrics.health.HealthCheckRegistry registry)
-
-
Method Details
-
doGet
@GET public javax.ws.rs.core.Response doGet()
-