Readiness State Health Indicator (application/ReadinessStateHealthIndicator.java)

spring-boot · module/spring-boot-health/src/main/java/org/springframework/boot/health/application/ReadinessStateHealthIndicator.java · java · Apache-2.0
infra, lang:java, fw:spring

Spring Boot health indicator that monitors application readiness state and integrates with availability probes.

// Source: https://github.com/spring-projects/spring-boot | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright 2012-present the original author or authors.
 */

package org.springframework.boot.health.application;

import org.springframework.boot.availability.ApplicationAvailability;
import org.springframework.boot.availability.AvailabilityState;
import org.springframework.boot.availability.ReadinessState;
import org.springframework.boot.health.contributor.HealthIndicator;
import org.springframework.boot.health.contributor.Status;

/**
 * A {@link HealthIndicator} that checks the {@link ReadinessState} of the application.
 *
 * @author Brian Clozel
 * @author Phillip We

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key