Class HealthEndpointImpl
java.lang.Object
org.apache.servicecomb.solution.basic.integration.HealthEndpointImpl
- All Implemented Interfaces:
HealthEndpoint
@RestSchema(schemaId="scb-health",
schemaInterface=HealthEndpoint.class)
public class HealthEndpointImpl
extends Object
implements HealthEndpoint
-
Field Summary
Fields inherited from interface org.apache.servicecomb.solution.basic.integration.HealthEndpoint
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
HealthEndpointImpl
public HealthEndpointImpl()
-
-
Method Details
-
checkHealth
public boolean checkHealth()- Specified by:
checkHealthin interfaceHealthEndpoint
-
checkHealthDetails
public Map<String,org.apache.servicecomb.foundation.metrics.health.HealthCheckResult> checkHealthDetails()- Specified by:
checkHealthDetailsin interfaceHealthEndpoint
-