Package org.forgerock.am.health
Class LivenessCheckEndpoint
java.lang.Object
org.forgerock.am.health.LivenessCheckEndpoint
CHF endpoint that reports AMs liveness, pertaining to the characteristics laid out in the Kubernetes documentation
 for the liveness probe. This endpoint calls out to the 
HealthCheckService to ascertain whether AM is
 alive.- Since:
 - 7.1.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionLivenessCheckEndpoint(org.forgerock.am.health.HealthCheckService service) Creates a new instance of the liveness endpoint. - 
Method Summary
 
- 
Constructor Details
- 
LivenessCheckEndpoint
@Inject public LivenessCheckEndpoint(org.forgerock.am.health.HealthCheckService service) Creates a new instance of the liveness endpoint.- Parameters:
 service- the health check service
 
 - 
 - 
Method Details
- 
isAlive
Checks whether the AM instance is alive.- Returns:
 - the liveness status of the AM instance
 
 
 -