public class CompositeReactiveHealthIndicator extends ObjectSE implements ReactiveHealthIndicator
ReactiveHealthIndicator
。構成可能なタイムアウトに達するデリゲートに代替 Health
を提供します。コンストラクターと説明 |
---|
CompositeReactiveHealthIndicator(HealthAggregator healthAggregator) 使用すべきではありません。 |
CompositeReactiveHealthIndicator(HealthAggregator healthAggregator, MapSE<StringSE, ReactiveHealthIndicator> indicators) 使用すべきではありません。 |
CompositeReactiveHealthIndicator(HealthAggregator healthAggregator, ReactiveHealthIndicatorRegistry registry) 指定された registry のインジケーターから新しい CompositeReactiveHealthIndicator を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
CompositeReactiveHealthIndicator | addHealthIndicator(StringSE name, ReactiveHealthIndicator indicator) 使用すべきではありません。 |
reactor.core.publisher.Mono<Health> | health() ヘルスの指標を提供します。 |
CompositeReactiveHealthIndicator | timeoutStrategy(long timeout, Health timeoutHealth) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@DeprecatedSE public CompositeReactiveHealthIndicator(HealthAggregator healthAggregator)
CompositeReactiveHealthIndicator(HealthAggregator, ReactiveHealthIndicatorRegistry)
に移行 CompositeReactiveHealthIndicator
を作成します。healthAggregator
- ヘルスアグリゲーター @DeprecatedSE public CompositeReactiveHealthIndicator(HealthAggregator healthAggregator, MapSE<StringSE,ReactiveHealthIndicator> indicators)
CompositeReactiveHealthIndicator(HealthAggregator, ReactiveHealthIndicatorRegistry)
に移行 CompositeReactiveHealthIndicator
を作成します。healthAggregator
- ヘルスアグリゲーター indicators
- 標識名として使用されるキーを持つ HealthIndicators
のマップ。public CompositeReactiveHealthIndicator(HealthAggregator healthAggregator, ReactiveHealthIndicatorRegistry registry)
registry
のインジケーターから新しい CompositeReactiveHealthIndicator
を作成します。healthAggregator
- ヘルスアグリゲーター registry
- HealthIndicators
のレジストリ。@DeprecatedSE public CompositeReactiveHealthIndicator addHealthIndicator(StringSE name, ReactiveHealthIndicator indicator)
ReactiveHealthIndicator
を追加します。name
- ヘルスインジケーターの名前 indicator
- 追加するヘルスインジケーター IllegalStateExceptionSE
- 指定された name
のインジケーターがすでに登録されている場合。public CompositeReactiveHealthIndicator timeoutStrategy(long timeout, Health timeoutHealth)
timeout
- timeoutHealth
を使用する前に待機するミリ秒数 timeoutHealth
- ヘルスインジケーターが timeout
に達した場合に使用する Health
public reactor.core.publisher.Mono<Health> health()
ReactiveHealthIndicator
ReactiveHealthIndicator
の health
Health
を提供する Mono
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.