クラス ElasticsearchRestHealthContributorAutoConfiguration
java.lang.ObjectSE
org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration<ElasticsearchRestClientHealthIndicator, co.elastic.clients.transport.rest5_client.low_level.Rest5Client>
org.springframework.boot.elasticsearch.autoconfigure.health.ElasticsearchRestHealthContributorAutoConfiguration
@AutoConfiguration(after=ElasticsearchRestClientAutoConfiguration.class)
@ConditionalOnClass({co.elastic.clients.transport.rest5_client.low_level.Rest5Client.class,ConditionalOnEnabledHealthIndicator.class})
@ConditionalOnBean(co.elastic.clients.transport.rest5_client.low_level.Rest5Client.class)
@ConditionalOnEnabledHealthIndicator("elasticsearch")
public final class ElasticsearchRestHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<ElasticsearchRestClientHealthIndicator, co.elastic.clients.transport.rest5_client.low_level.Rest5Client>
- 導入:
- 4.0.0
- 作成者:
- Artsiom Yudovin
メソッドのサマリー
修飾子と型メソッド説明protected final HealthContributorcreateContributor(MapSE<StringSE, co.elastic.clients.transport.rest5_client.low_level.Rest5Client> beans) protected final HealthContributorcreateContributor(ConfigurableListableBeanFactory beanFactory, ClassSE<co.elastic.clients.transport.rest5_client.low_level.Rest5Client> beanType) 指定されたbeanFactoryから取得された指定されたbeanTypeの Bean から複合コントリビュータを作成します。protected ElasticsearchRestClientHealthIndicatorcreateIndicator(co.elastic.clients.transport.rest5_client.low_level.Rest5Client bean) クラス CompositeHealthContributorConfiguration から継承されたメソッド
createComposite
メソッドの詳細
createContributor
protected final HealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, ClassSE<co.elastic.clients.transport.rest5_client.low_level.Rest5Client> beanType) 指定されたbeanFactoryから取得された指定されたbeanTypeの Bean から複合コントリビュータを作成します。- パラメーター:
beanFactory- Bean が回収される Bean ファクトリbeanType- 取得される Bean の種類- 戻り値:
- コントリビューター
createContributor
protected final HealthContributor createContributor(MapSE<StringSE, co.elastic.clients.transport.rest5_client.low_level.Rest5Client> beans) createIndicator
protected ElasticsearchRestClientHealthIndicator createIndicator(co.elastic.clients.transport.rest5_client.low_level.Rest5Client bean)