インターフェース ReactiveHealthContributor
- すべての既知のサブインターフェース:
CompositeReactiveHealthContributor, ReactiveHealthIndicator
- すべての既知の実装クラス:
AbstractReactiveHealthIndicator, CassandraDriverReactiveHealthIndicator, ConnectionFactoryHealthIndicator, CouchbaseReactiveHealthIndicator, DataElasticsearchReactiveHealthIndicator, DataRedisReactiveHealthIndicator, MongoReactiveHealthIndicator, Neo4jReactiveHealthIndicator
public sealed interface ReactiveHealthContributor
permits ReactiveHealthIndicator, CompositeReactiveHealthContributor
ヘルス情報を直接 (
ReactiveHealthIndicator ) または他の提供者を介して ( CompositeReactiveHealthContributor ) 提供します。- 導入:
- 4.0.0
- 作成者:
- Phillip Webb, Stephane Nicoll
- 関連事項:
メソッドのサマリー
修飾子と型メソッド説明static @Nullable ReactiveHealthContributoradapt(@Nullable HealthContributor contributor) Schedulers.boundedElastic()へのブロッキング呼び出しをスケジュールすることにより、指定されたHealthContributorをReactiveHealthContributorに適合させます。このリアクティブコントリビューターを標準ブロッキングHealthContributorとして返します。
メソッドの詳細
asHealthContributor
HealthContributor asHealthContributor()このリアクティブコントリビューターを標準ブロッキングHealthContributorとして返します。- 戻り値:
- ヘルスを阻害するコントリビューター
adapt
@Contract("!null -> !null") static @Nullable ReactiveHealthContributor adapt(@Nullable HealthContributor contributor) Schedulers.boundedElastic()へのブロッキング呼び出しをスケジュールすることにより、指定されたHealthContributorをReactiveHealthContributorに適合させます。- パラメーター:
contributor- コントリビューターが適応するかnull- 戻り値:
- 適応されたコントリビューター