Class 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 the HealthCheckService to ascertain whether AM is alive.
    Since:
    7.1.0
    • Constructor Detail

      • 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 Detail

      • isAlive

        public Response isAlive()
        Checks whether the AM instance is alive.
        Returns:
        the liveness status of the AM instance