@Singleton @Requires(classes=HealthIndicator.class) @Requires(beans=EurekaClient.class) public class EurekaHealthIndicator extends Object implements HealthIndicator
HealthIndicator
for Eureka.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
EurekaHealthIndicator(EurekaClient eurekaClient) |
public EurekaHealthIndicator(EurekaClient eurekaClient)
eurekaClient
- The Eureka clientpublic io.reactivex.Flowable<HealthResult> getResult()
getResult
in interface HealthIndicator
HealthResult
that provides the
information necessary to build a response.