public class DiscoveryClientHealthIndicator extends Object implements DiscoveryHealthIndicator, org.springframework.core.Ordered, org.springframework.context.ApplicationListener<InstanceRegisteredEvent<?>>
| Constructor and Description |
|---|
DiscoveryClientHealthIndicator(org.springframework.beans.factory.ObjectProvider<DiscoveryClient> discoveryClient,
DiscoveryClientHealthIndicatorProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
int |
getOrder() |
org.springframework.boot.actuate.health.Health |
health() |
void |
onApplicationEvent(InstanceRegisteredEvent<?> event) |
void |
setOrder(int order) |
public DiscoveryClientHealthIndicator(org.springframework.beans.factory.ObjectProvider<DiscoveryClient> discoveryClient, DiscoveryClientHealthIndicatorProperties properties)
public void onApplicationEvent(InstanceRegisteredEvent<?> event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<InstanceRegisteredEvent<?>>public org.springframework.boot.actuate.health.Health health()
health in interface DiscoveryHealthIndicatorpublic String getName()
getName in interface DiscoveryHealthIndicatorpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setOrder(int order)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.