HealthContributorRegistry を推奨 @DeprecatedSE public interface HealthIndicatorRegistry
HealthIndicators の変更可能なレジストリ。実装 はスレッドセーフでなければなりません。
HealthEndpoint| 修飾子と型 | メソッドと説明 |
|---|---|
HealthIndicator | get(StringSE name) 使用すべきではありません。 指定された name に登録された HealthIndicator を返します。 |
MapSE<StringSE, HealthIndicator> | getAll() 使用すべきではありません。 登録済みのヘルスインジケータとその名前のスナップショットを返します。 |
void | register(StringSE name, HealthIndicator healthIndicator) 使用すべきではありません。 指定された HealthIndicator を登録し、指定された name に関連付けます。 |
HealthIndicator | unregister(StringSE name) 使用すべきではありません。 指定された name で以前に登録された HealthIndicator の登録を解除します。 |
void register(StringSE name, HealthIndicator healthIndicator)
HealthIndicator を登録し、指定された name に関連付けます。name - インジケーターの名前 healthIndicator - インジケータ IllegalStateExceptionSE - 指定された name でインジケーターを登録できない場合。HealthIndicator unregister(StringSE name)
name で以前に登録された HealthIndicator の登録を解除します。name - インジケーターの名前 name のレジストリにインジケータが見つからなかった場合は null HealthIndicator get(StringSE name)
name に登録された HealthIndicator を返します。name - インジケーターの名前 name にインジケータが登録されていない場合は null MapSE<StringSE,HealthIndicator> getAll()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.