Package org.forgerock.am.health
Class LivenessCheckEndpoint
- java.lang.Object
-
- org.forgerock.am.health.LivenessCheckEndpoint
-
public class LivenessCheckEndpoint extends Object
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 theHealthCheckService
to ascertain whether AM is alive.- Since:
- 7.1.0
-
-
Constructor Summary
Constructors Constructor Description LivenessCheckEndpoint(org.forgerock.am.health.HealthCheckService service)
Creates a new instance of the liveness endpoint.
-
-
-
Method Detail
-
isAlive
public Response isAlive()
Checks whether the AM instance is alive.- Returns:
- the liveness status of the AM instance
-
-