public class CompositeHealthIndicator extends ObjectSE implements HealthIndicator
HealthIndicator
。コンストラクターと説明 |
---|
CompositeHealthIndicator(HealthAggregator healthAggregator) 使用すべきではありません。 |
CompositeHealthIndicator(HealthAggregator healthAggregator, HealthIndicatorRegistry registry) 指定された registry のインジケーターから新しい CompositeHealthIndicator を作成します。 |
CompositeHealthIndicator(HealthAggregator healthAggregator, MapSE<StringSE, HealthIndicator> indicators) 指定されたインジケーターから新しい CompositeHealthIndicator を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | addHealthIndicator(StringSE name, HealthIndicator indicator) 使用すべきではありません。 |
HealthIndicatorRegistry | getRegistry() このインスタンスの HealthIndicatorRegistry を返します。 |
Health | health() ヘルス状態の表示を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@DeprecatedSE public CompositeHealthIndicator(HealthAggregator healthAggregator)
CompositeHealthIndicator(HealthAggregator, HealthIndicatorRegistry)
に移行 CompositeHealthIndicator
を作成します。healthAggregator
- ヘルスアグリゲーター public CompositeHealthIndicator(HealthAggregator healthAggregator, MapSE<StringSE,HealthIndicator> indicators)
CompositeHealthIndicator
を作成します。healthAggregator
- ヘルスアグリゲーター indicators
- 標識名として使用されるキーを持つ HealthIndicators
のマップ。public CompositeHealthIndicator(HealthAggregator healthAggregator, HealthIndicatorRegistry registry)
registry
のインジケーターから新しい CompositeHealthIndicator
を作成します。healthAggregator
- ヘルスアグリゲーター registry
- HealthIndicators
のレジストリ。@DeprecatedSE public void addHealthIndicator(StringSE name, HealthIndicator indicator)
HealthIndicatorRegistry.register(String, HealthIndicator)
に移行 healthIndicator
を追加し、指定された name
に関連付けます。name
- インジケーターの名前 indicator
- インジケータ IllegalStateExceptionSE
- 指定された name
のインジケーターがすでに登録されている場合。public HealthIndicatorRegistry getRegistry()
HealthIndicatorRegistry
を返します。health indicators
のレジストリ public Health health()
HealthIndicator
HealthIndicator
の health
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.