public class CompositeReactiveHealthIndicator extends Object implements ReactiveHealthIndicator
ReactiveHealthIndicatorthat returns health indications from all registered delegates. Provides an alternative
Healthfor a delegate that reaches a configurable timeout.
|Constructor and Description|
Create a new
|Modifier and Type||Method and Description|
Provide the indicator of health.
public CompositeReactiveHealthIndicator(HealthAggregator healthAggregator, ReactiveHealthIndicatorRegistry registry)
CompositeReactiveHealthIndicatorfrom the indicators in the given
healthAggregator- the health aggregator
registry- the registry of
public CompositeReactiveHealthIndicator timeoutStrategy(long timeout, Health timeoutHealth)
timeout- number of milliseconds to wait before using the
Healthto use if an health indicator reached the
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.