@Singleton @Requires(beans=HealthEndpoint.class) @Readiness public class ServiceReadyHealthIndicator extends java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
org.reactivestreams.Publisher<HealthResult> |
getResult() |
@Internal protected ServiceReadyHealthIndicator(ApplicationConfiguration applicationConfiguration)
applicationConfiguration
- The application configuration.public int getOrder()
public org.reactivestreams.Publisher<HealthResult> getResult()
getResult
in interface HealthIndicator
HealthResult
that provides the
information necessary to build a response.