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