@Singleton @Requires(beans=HealthEndpoint.class) @Readiness public class ServiceReadyHealthIndicator extends Object implements HealthIndicator
A HealthIndicator
that signals when the service is ready to
service requests.
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Modifier | Constructor and Description |
---|---|
protected |
ServiceReadyHealthIndicator(ApplicationConfiguration applicationConfiguration)
Default constructor.
|
@Internal protected ServiceReadyHealthIndicator(ApplicationConfiguration applicationConfiguration)
applicationConfiguration
- The application configuration.public int getOrder()
public Publisher<HealthResult> getResult()
getResult
in interface HealthIndicator
HealthResult
that provides the
information necessary to build a response.