Class DefaultRedisConfiguration
java.lang.Object
io.lettuce.core.RedisURI
io.micronaut.configuration.lettuce.AbstractRedisConfiguration
io.micronaut.configuration.lettuce.DefaultRedisConfiguration
- All Implemented Interfaces:
io.lettuce.core.ConnectionPoint
,io.micronaut.core.naming.Named
,Serializable
@ConfigurationProperties("redis")
@Primary
@Requires(property="redis")
public class DefaultRedisConfiguration
extends AbstractRedisConfiguration
In the case where the redis.uri is not specified use the default configuration.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.lettuce.core.RedisURI
io.lettuce.core.RedisURI.Builder
-
Field Summary
Fields inherited from class io.lettuce.core.RedisURI
CONVERTER_MAP, DEFAULT_REDIS_PORT, DEFAULT_SENTINEL_PORT, DEFAULT_TIMEOUT, DEFAULT_TIMEOUT_DURATION, PARAMETER_NAME_CLIENT_NAME, PARAMETER_NAME_DATABASE, PARAMETER_NAME_DATABASE_ALT, PARAMETER_NAME_LIBRARY_NAME, PARAMETER_NAME_LIBRARY_VERSION, PARAMETER_NAME_SENTINEL_MASTER_ID, PARAMETER_NAME_TIMEOUT, PARAMETER_NAME_VERIFY_PEER, URI_SCHEME_REDIS, URI_SCHEME_REDIS_SECURE, URI_SCHEME_REDIS_SECURE_ALT, URI_SCHEME_REDIS_SENTINEL, URI_SCHEME_REDIS_SENTINEL_SECURE, URI_SCHEME_REDIS_SOCKET, URI_SCHEME_REDIS_SOCKET_ALT, URI_SCHEME_REDIS_TLS_ALT
-
Constructor Summary
-
Method Summary
Methods inherited from class io.micronaut.configuration.lettuce.AbstractRedisConfiguration
getComputationThreadPoolSize, getIoThreadPoolSize, getName, getUri, getUris, setComputationThreadPoolSize, setIoThreadPoolSize, setName, setUri, setUris
Methods inherited from class io.lettuce.core.RedisURI
applyAuthentication, applySsl, builder, builder, create, create, create, equals, getClientName, getCredentialsProvider, getDatabase, getHost, getLibraryName, getLibraryVersion, getPassword, getPort, getSentinelMasterId, getSentinels, getSocket, getTimeout, getUsername, getVerifyMode, hashCode, isSsl, isStartTls, isVerifyPeer, setClientName, setCredentialsProvider, setDatabase, setHost, setLibraryName, setLibraryVersion, setPassword, setPassword, setPassword, setPort, setSentinelMasterId, setSocket, setSsl, setStartTls, setTimeout, setUsername, setVerifyPeer, setVerifyPeer, toString, toURI
-
Constructor Details
-
DefaultRedisConfiguration
public DefaultRedisConfiguration()
-