クラス DataRedisHealthContributorAutoConfiguration
java.lang.ObjectSE
org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration<DataRedisHealthIndicator, org.springframework.data.redis.connection.RedisConnectionFactory>
org.springframework.boot.data.redis.autoconfigure.health.DataRedisHealthContributorAutoConfiguration
@AutoConfiguration(after={DataRedisAutoConfiguration.class,DataRedisReactiveHealthContributorAutoConfiguration.class})
@ConditionalOnClass({org.springframework.data.redis.connection.RedisConnectionFactory.class,HealthIndicator.class,ConditionalOnEnabledHealthIndicator.class})
@ConditionalOnBean(org.springframework.data.redis.connection.RedisConnectionFactory.class)
@ConditionalOnEnabledHealthIndicator("redis")
public final class DataRedisHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<DataRedisHealthIndicator, org.springframework.data.redis.connection.RedisConnectionFactory>
- 導入:
- 4.0.0
- 作成者:
- Christian Dupuis, Richard Santana, Stephane Nicoll, Mark Paluch
方法の概要
修飾子と型メソッド説明protected final HealthContributorcreateContributor(MapSE<StringSE, org.springframework.data.redis.connection.RedisConnectionFactory> beans) protected final HealthContributorcreateContributor(ConfigurableListableBeanFactory beanFactory, ClassSE<org.springframework.data.redis.connection.RedisConnectionFactory> beanType) 指定されたbeanFactoryから取得された指定されたbeanTypeの Bean から複合コントリビュータを作成します。protected DataRedisHealthIndicatorcreateIndicator(org.springframework.data.redis.connection.RedisConnectionFactory bean) クラス CompositeHealthContributorConfiguration から継承されたメソッド
createComposite
方法の詳細
createContributor
protected final HealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, ClassSE<org.springframework.data.redis.connection.RedisConnectionFactory> beanType) 指定されたbeanFactoryから取得された指定されたbeanTypeの Bean から複合コントリビュータを作成します。- パラメーター:
beanFactory- Bean が回収される Bean ファクトリbeanType- 取得される Bean の種類- 戻り値:
- コントリビューター
createContributor
protected final HealthContributor createContributor(MapSE<StringSE, org.springframework.data.redis.connection.RedisConnectionFactory> beans) createIndicator
protected DataRedisHealthIndicator createIndicator(org.springframework.data.redis.connection.RedisConnectionFactory bean)