クラス DefaultHealthContributorRegistry
java.lang.ObjectSE
org.springframework.boot.actuate.health.DefaultHealthContributorRegistry
- 実装されているすべてのインターフェース:
IterableSE<NamedContributor<HealthContributor>>、ContributorRegistry<HealthContributor>、HealthContributorRegistry、NamedContributors<HealthContributor>
デフォルトの
HealthContributorRegistry 実装。- 導入:
- 2.2.0
- 作成者:
- Phillip Webb
コンストラクターの概要
コンストラクターコンストラクター説明DefaultHealthContributorRegistry(MapSE<StringSE, HealthContributor> contributors) DefaultHealthContributorRegistry(MapSE<StringSE, HealthContributor> contributors, FunctionSE<StringSE, StringSE> nameFactory) メソッドのサマリー
修飾子と型メソッド説明getContributor(StringSE name) 指定された名前の投稿者を返します。iterator()voidregisterContributor(StringSE name, HealthContributor contributor) 指定されたnameにコントリビューターを登録します。以前に登録したコントリビューターの登録を解除します。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.boot.actuate.health.ContributorRegistry から継承されたメソッド
registerContributor, unregisterContributorインターフェース java.lang.IterableSE から継承されたメソッド
forEachSE, iterator, spliteratorインターフェース org.springframework.boot.actuate.health.NamedContributors から継承されたメソッド
getContributor, stream
コンストラクターの詳細
DefaultHealthContributorRegistry
public DefaultHealthContributorRegistry()DefaultHealthContributorRegistry
DefaultHealthContributorRegistry
public DefaultHealthContributorRegistry(MapSE<StringSE, HealthContributor> contributors, FunctionSE<StringSE, StringSE> nameFactory)
メソッドの詳細
registerContributor
インターフェースからコピーされた説明:ContributorRegistry指定されたnameにコントリビューターを登録します。- 次で指定:
- インターフェース
ContributorRegistry<C>のregisterContributor - パラメーター:
name- コントリビューターの名前contributor- 登録するコントリビューター
unregisterContributor
インターフェースからコピーされた説明:ContributorRegistry以前に登録したコントリビューターの登録を解除します。- 次で指定:
- インターフェース
ContributorRegistry<C>のunregisterContributor - パラメーター:
name- 登録解除するコントリビューターの名前- 戻り値:
- 登録されていないインジケータ、または指定された
nameのレジストリにインジケータが見つからなかった場合はnull
getContributor
インターフェースからコピーされた説明:NamedContributors指定された名前の投稿者を返します。- 次で指定:
- インターフェース
NamedContributors<C>のgetContributor - パラメーター:
name- コントリビューターの名前- 戻り値:
- コントリビューターインスタンスまたは
null
iterator
- 次で指定:
- インターフェース
IterableSE<C>のiterator