クラス DefaultReactiveHealthContributorRegistry
java.lang.ObjectSE
org.springframework.boot.health.registry.DefaultReactiveHealthContributorRegistry
- 実装されているすべてのインターフェース:
IterableSE<ReactiveHealthContributors.Entry>, ReactiveHealthContributors, ReactiveHealthContributorRegistry
public class DefaultReactiveHealthContributorRegistry
extends ObjectSE
implements ReactiveHealthContributorRegistry
デフォルトの
ReactiveHealthContributorRegistry 実装。- 導入:
- 4.0.0
- 作成者:
- Phillip Webb
ネストされたクラスの概要
インターフェース ReactiveHealthContributors から継承されたネストクラス / インターフェース
ReactiveHealthContributors.Entryコンストラクターの概要
コンストラクターコンストラクター説明新しい空のDefaultReactiveHealthContributorRegistryインスタンスを作成します。DefaultReactiveHealthContributorRegistry(@Nullable CollectionSE<? extends HealthContributorNameValidator> nameValidators, @Nullable ConsumerSE<BiConsumerSE<StringSE, ReactiveHealthContributor>> initialRegistrations) 新しいDefaultReactiveHealthContributorRegistryインスタンスを作成します。方法の概要
修飾子と型メソッド説明@Nullable ReactiveHealthContributorgetContributor(StringSE name) 指定された名前の投稿者を返します。voidregisterContributor(StringSE name, ReactiveHealthContributor contributor) 指定されたnameにコントリビューターを登録します。stream()投稿者エントリのストリームを返します。@Nullable ReactiveHealthContributor以前に登録したコントリビューターの登録を解除します。クラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース IterableSE から継承されたメソッド
forEachSE, spliteratorインターフェース ReactiveHealthContributors から継承されたメソッド
asHealthContributors, iterator
コンストラクターの詳細
DefaultReactiveHealthContributorRegistry
public DefaultReactiveHealthContributorRegistry()新しい空のDefaultReactiveHealthContributorRegistryインスタンスを作成します。DefaultReactiveHealthContributorRegistry
public DefaultReactiveHealthContributorRegistry(@Nullable CollectionSE<? extends HealthContributorNameValidator> nameValidators, @Nullable ConsumerSE<BiConsumerSE<StringSE, ReactiveHealthContributor>> initialRegistrations) 新しいDefaultReactiveHealthContributorRegistryインスタンスを作成します。- パラメーター:
nameValidators- 適用する名前検証子initialRegistrations- 初期登録を設定するためのコールバック
メソッドの詳細
getContributor
インターフェースからコピーされた説明:ReactiveHealthContributors指定された名前の投稿者を返します。- 次で指定:
- インターフェース
ReactiveHealthContributorsのgetContributor - パラメーター:
name- コントリビューターの名前- 戻り値:
- コントリビューターインスタンスまたは
null
stream
インターフェースからコピーされた説明:ReactiveHealthContributors投稿者エントリのストリームを返します。- 次で指定:
- インターフェース
ReactiveHealthContributorsのstream - 戻り値:
- 指名されたコントリビューターの流れ
registerContributor
インターフェースからコピーされた説明:ReactiveHealthContributorRegistry指定されたnameにコントリビューターを登録します。- 次で指定:
- インターフェース
ReactiveHealthContributorRegistryのregisterContributor - パラメーター:
name- コントリビューターの名前contributor- 登録するコントリビューター
unregisterContributor
インターフェースからコピーされた説明:ReactiveHealthContributorRegistry以前に登録したコントリビューターの登録を解除します。- 次で指定:
- インターフェース
ReactiveHealthContributorRegistryのunregisterContributor - パラメーター:
name- 登録解除するコントリビューターの名前- 戻り値:
- 登録されていないインジケータ、または指定された
nameのレジストリにインジケータが見つからなかった場合はnull