public class ZookeeperDiscoveryHealthIndicator extends Object implements org.springframework.cloud.client.discovery.health.DiscoveryHealthIndicator
HealthIndicator
that presents the
status of all instances registered in Zookeeper.Constructor and Description |
---|
ZookeeperDiscoveryHealthIndicator(org.apache.curator.framework.CuratorFramework curatorFramework,
org.apache.curator.x.discovery.ServiceDiscovery<ZookeeperInstance> serviceDiscovery,
ZookeeperDependencies zookeeperDependencies,
ZookeeperDiscoveryProperties zookeeperDiscoveryProperties) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
org.springframework.boot.actuate.health.Health |
health() |
public ZookeeperDiscoveryHealthIndicator(org.apache.curator.framework.CuratorFramework curatorFramework, org.apache.curator.x.discovery.ServiceDiscovery<ZookeeperInstance> serviceDiscovery, ZookeeperDependencies zookeeperDependencies, ZookeeperDiscoveryProperties zookeeperDiscoveryProperties)
public String getName()
getName
in interface org.springframework.cloud.client.discovery.health.DiscoveryHealthIndicator
public org.springframework.boot.actuate.health.Health health()
health
in interface org.springframework.cloud.client.discovery.health.DiscoveryHealthIndicator
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.