public class ReactiveDiscoveryClientHealthIndicator extends Object implements ReactiveDiscoveryHealthIndicator, org.springframework.core.Ordered, org.springframework.context.ApplicationListener<InstanceRegisteredEvent<?>>
| Constructor and Description |
|---|
ReactiveDiscoveryClientHealthIndicator(ReactiveDiscoveryClient discoveryClient,
DiscoveryClientHealthIndicatorProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Provide the name of health indicator.
|
int |
getOrder() |
reactor.core.publisher.Mono<org.springframework.boot.actuate.health.Health> |
health()
Provide the indicator of health.
|
void |
onApplicationEvent(InstanceRegisteredEvent<?> event) |
void |
setOrder(int order) |
public ReactiveDiscoveryClientHealthIndicator(ReactiveDiscoveryClient discoveryClient, DiscoveryClientHealthIndicatorProperties properties)
public void onApplicationEvent(InstanceRegisteredEvent<?> event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<InstanceRegisteredEvent<?>>public reactor.core.publisher.Mono<org.springframework.boot.actuate.health.Health> health()
ReactiveDiscoveryHealthIndicatorhealth in interface ReactiveDiscoveryHealthIndicatorMono that provides the Healthpublic String getName()
ReactiveDiscoveryHealthIndicatorgetName in interface ReactiveDiscoveryHealthIndicatorString that provides the name of health indicator, usually the
name of the implementation.public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setOrder(int order)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.