Class RedisHealthIndicatorConfiguration

java.lang.Object
io.micronaut.configuration.lettuce.health.RedisHealthIndicatorConfiguration

@ConfigurationProperties("redis.health") public class RedisHealthIndicatorConfiguration extends Object
Configuration for Redis health checks.
Since:
7.0.0
Author:
graemerocher
  • Constructor Details

    • RedisHealthIndicatorConfiguration

      public RedisHealthIndicatorConfiguration()
  • Method Details

    • isReuseConnection

      public boolean isReuseConnection()
      Returns:
      Whether the health indicator should reuse a managed connection bean when available
    • setReuseConnection

      public void setReuseConnection(boolean reuseConnection)
      Parameters:
      reuseConnection - True if the health indicator should reuse a managed connection bean when available