Class DefaultRedisConnectionPoolConfiguration

java.lang.Object
io.micronaut.configuration.lettuce.AbstractRedisConnectionPoolConfiguration
io.micronaut.configuration.lettuce.DefaultRedisConnectionPoolConfiguration

@ConfigurationProperties("redis.pool") @Requires(classes=io.micronaut.cache.SyncCache.class, property="redis.pool.enabled", defaultValue="false", notEquals="false") @Primary public class DefaultRedisConnectionPoolConfiguration extends AbstractRedisConnectionPoolConfiguration
Allows configuration of redis connection pool.
Since:
5.3.0
Author:
Graeme Rocher, Illia Kovalov
  • Constructor Details

    • DefaultRedisConnectionPoolConfiguration

      public DefaultRedisConnectionPoolConfiguration(io.micronaut.runtime.ApplicationConfiguration applicationConfiguration)
      Constructor.
      Parameters:
      applicationConfiguration - applicationConfiguration
  • Method Details

    • getBoundedPoolConfig

      public io.lettuce.core.support.BoundedPoolConfig getBoundedPoolConfig()
      Returns:
      BoundedPoolConfig