Class SystemHealth

java.lang.Object
org.forgerock.openig.http.SystemHealth

public class SystemHealth extends Object
The overall health of the system as named HealthServices.
  • Constructor Details

    • SystemHealth

      public SystemHealth(HealthProbe startedHealthService, HealthProbe readinessHealthService, HealthProbe livenessHealthService)
      Creates a new instance of SystemHealth.
      Parameters:
      startedHealthService - a probe that returns true when the application has started
      readinessHealthService - a probe that returns true when the application is ready to serve requests
      livenessHealthService - a probe that returns true when the application is alive
  • Method Details

    • kubernetesProbes

      public Handler kubernetesProbes()
      Returns a Handler that can be used as a Kubernetes liveness/readiness/startup probe.
      Returns:
      a Handler that can be used as a Kubernetes liveness/readiness/startup probe
      See Also: