@Singleton @Requires(classes=HealthIndicator.class) @Requires(beans=ConsulClient.class) @Requires(property="consul.client.health-check",value="true",defaultValue="true") public class ConsulHealthIndicator extends Object implements HealthIndicator
HealthIndicator for Consul.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description | 
|---|
| ConsulHealthIndicator(ConsulClient client) | 
public ConsulHealthIndicator(ConsulClient client)
client - The Consul clientpublic Publisher<HealthResult> getResult()
getResult in interface HealthIndicatorHealthResult that provides the
 information necessary to build a response.