@Singleton @Requires(beans=HealthEndpoint.class) @Requires(property="endpoints.health.service-ready-indicator-enabled",value="true",defaultValue="true") @Readiness public class ServiceReadyHealthIndicator extends Object implements HealthIndicator
A HealthIndicator that signals when the service is ready to
service requests.
| Modifier and Type | Field and Description |
|---|---|
static String |
ENABLED |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Modifier | Constructor and Description |
|---|---|
protected |
ServiceReadyHealthIndicator(ApplicationConfiguration applicationConfiguration)
Default constructor.
|
public static final String ENABLED
@Internal protected ServiceReadyHealthIndicator(ApplicationConfiguration applicationConfiguration)
applicationConfiguration - The application configuration.public int getOrder()
public Publisher<HealthResult> getResult()
getResult in interface HealthIndicatorHealthResult that provides the
information necessary to build a response.