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, io.micronaut.core.util.Toggleable, Serializable

@ConfigurationProperties("redis") @Primary @Requires(property="redis") @Requires(property="redis.enabled",notEquals="false") 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.micronaut.core.util.Toggleable

    isEnabled
  • Constructor Details

    • DefaultRedisConfiguration

      public DefaultRedisConfiguration()