Uses of Class
org.apache.juneau.rest.server.health.ReadinessState
Packages that use ReadinessState
Package
Description
Built-in health, readiness, and liveness probe support for Juneau REST servers.
Revision-neutral core for MCP endpoints built on
juneau-rest-server.-
Uses of ReadinessState in org.apache.juneau.rest.server.health
Methods in org.apache.juneau.rest.server.health that return ReadinessStateModifier and TypeMethodDescriptionReadinessState.markOutOfService()Marks this service as out of service so the readiness probe (/readyz) returns503.ReadinessState.markReady()Marks this service as ready to receive traffic.ReadinessState.onOutOfService(Object key, Runnable callback) Registers a callback to run when this state ismarked out of service.static ReadinessStateResolves the readiness state from the given bean store, falling back to thesharedinstance.static ReadinessStateReadinessState.shared()Returns the process-wide shared readiness state.Methods in org.apache.juneau.rest.server.health with parameters of type ReadinessStateModifier and TypeMethodDescriptionvoidReadinessStateAware.acceptReadinessState(ReadinessState state) Receives the lifecycle-owned readiness state.HealthServlet.publishReadinessState(ReadinessState state) Publishes the lifecycle-ownedReadinessStatethat this probe should observe. -
Uses of ReadinessState in org.apache.juneau.rest.server.mcp
Methods in org.apache.juneau.rest.server.mcp with parameters of type ReadinessStateModifier and TypeMethodDescriptionvoidAbstractMcpRestServlet.acceptReadinessState(ReadinessState state) Closes this servlet's open subscription streams as soon as the embedded server begins shutting down.