Class RedisReactiveHealthIndicator
- java.lang.Object
- org.springframework.boot.actuate.health.AbstractReactiveHealthIndicator
- org.springframework.boot.actuate.redis.RedisReactiveHealthIndicator
- All Implemented Interfaces:
ReactiveHealthIndicator
public class RedisReactiveHealthIndicator extends AbstractReactiveHealthIndicator
AReactiveHealthIndicator
for Redis.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description RedisReactiveHealthIndicator(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory connectionFactory)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected reactor.core.publisher.Mono<Health>
doHealthCheck(Health.Builder builder)
Actual health check logic.Methods inherited from class org.springframework.boot.actuate.health.AbstractReactiveHealthIndicator
health
Constructor Detail
RedisReactiveHealthIndicator
public RedisReactiveHealthIndicator(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory connectionFactory)
Method Detail
doHealthCheck
protected reactor.core.publisher.Mono<Health> doHealthCheck(Health.Builder builder)
Description copied from class:AbstractReactiveHealthIndicator
Actual health check logic. If an error occurs in the pipeline it will be handled automatically.- Specified by:
doHealthCheck
in classAbstractReactiveHealthIndicator
- Parameters:
builder
- theHealth.Builder
to report health status and details- Returns:
- a
Mono
that provides theHealth