Package org.apache.juneau.rest.server.health
package org.apache.juneau.rest.server.health
Built-in health, readiness, and liveness probe support for Juneau REST servers.
Provides the HealthIndicator SPI for reporting
per-component health, an HealthAggregator that combines
results, and servlet, child-resource, and mixin flavors
(HealthServlet,
HealthResource,
HealthMixin) that expose the probe endpoints.
-
ClassDescriptionComponent health result returned from a
HealthIndicator.Builder forHealth.Shared health-probe aggregation worker bean.Component payload in the response.Probe response payload.Functional SPI for reporting health of one component.Mixin flavor of the built-in health/readiness/liveness probe capability.Probe categories supported by the built-in health probe resource.Settings for the built-in health probe resource.Builder forHealthProbeSettings.Child-resource flavor of the built-in health/readiness/liveness probe capability.Servlet flavor of the built-in health/readiness/liveness probe capability.Status values returned byHealthIndicatorchecks.Shared, observable readiness flag consumed byHealthAggregatorto gate the readiness probe.Implemented by servlets that want to be told the embedded server's per-serviceReadinessState, so they can react when shutdown begins (seeReadinessState.onOutOfService(Object, Runnable)).