Class ZookeeperHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.springframework.cloud.zookeeper.ZookeeperHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
public class ZookeeperHealthIndicator
extends org.springframework.boot.actuate.health.AbstractHealthIndicator
A
HealthIndicator that checks the
status of the Zookeeper connection.- Since:
- 1.0.0
- Author:
- Spencer Gibb
-
Constructor Summary
ConstructorsConstructorDescriptionZookeeperHealthIndicator(org.apache.curator.framework.CuratorFramework curator) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) Methods inherited from class org.springframework.boot.actuate.health.AbstractHealthIndicator
healthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.HealthIndicator
getHealth
-
Constructor Details
-
ZookeeperHealthIndicator
public ZookeeperHealthIndicator(org.apache.curator.framework.CuratorFramework curator)
-
-
Method Details