Class DefaultRedisCacheConfiguration
java.lang.Object
io.micronaut.configuration.lettuce.cache.AbstractRedisCacheConfiguration
io.micronaut.configuration.lettuce.cache.DefaultRedisCacheConfiguration
@ConfigurationProperties("redis.cache")
@Requires(classes=io.micronaut.cache.SyncCache.class)
public class DefaultRedisCacheConfiguration
extends AbstractRedisCacheConfiguration
Allows providing default configuration values for the actual caches.
- Since:
- 1.3
- Author:
- Alex Katlein
-
Field Summary
Fields inherited from class io.micronaut.configuration.lettuce.cache.AbstractRedisCacheConfiguration
charset, expirationAfterWritePolicy, expireAfterAccess, expireAfterWrite, invalidateScanCount, keySerializer, server, valueSerializer
-
Constructor Summary
ConstructorDescriptionDefaultRedisCacheConfiguration
(io.micronaut.runtime.ApplicationConfiguration applicationConfiguration) Constructor. -
Method Summary
Methods inherited from class io.micronaut.configuration.lettuce.cache.AbstractRedisCacheConfiguration
getCharset, getExpirationAfterWritePolicy, getExpireAfterAccess, getExpireAfterWrite, getInvalidateScanCount, getKeySerializer, getServer, getValueSerializer, setCharset, setExpirationAfterWritePolicy, setExpireAfterAccess, setExpireAfterWrite, setInvalidateScanCount
-
Constructor Details
-
DefaultRedisCacheConfiguration
public DefaultRedisCacheConfiguration(io.micronaut.runtime.ApplicationConfiguration applicationConfiguration) Constructor.- Parameters:
applicationConfiguration
- applicationConfiguration
-