Package io.micronaut.configuration.lettuce
@Configuration
@Requires(classes=io.lettuce.core.RedisURI.class) @Requires(property="redis")
package io.micronaut.configuration.lettuce
Configuration group for Lettuce.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
ClassDescriptionAbstract version of a factory class for creating Redis clients.Abstract configuration for Lettuce.Allows configuration of caches stored in Redis.Mutates a
ClientResources.Builder
.Factory for the defaultRedisClient
.Allows connecting to a Redis cluster via the"redis.uris"
setting.Factory for the defaultRedisCodec
.In the case where the redis.uri is not specified use the default configuration.Allows configuration of redis connection pool.Mutates aClientResources.Builder
addingMicrometerCommandLatencyRecorder
.A factory bean for constructingRedisClient
instances fromNamedRedisServersConfiguration
instances.Allows the configuration of multiple redis servers.Internal utility methods for configuration.Interface for common Redis settings.Mutates aClientResources.Builder
adding lettuce threadpool configs.