Class NamedRedisServersConfiguration

java.lang.Object
io.lettuce.core.RedisURI
io.micronaut.configuration.lettuce.AbstractRedisConfiguration
io.micronaut.configuration.lettuce.NamedRedisServersConfiguration
All Implemented Interfaces:
io.lettuce.core.ConnectionPoint, io.micronaut.core.naming.Named, io.micronaut.core.util.Toggleable, Serializable

@EachProperty("redis.servers") public class NamedRedisServersConfiguration extends AbstractRedisConfiguration
Allows the configuration of multiple redis servers.
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
    Constructor.
  • 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

    • NamedRedisServersConfiguration

      public NamedRedisServersConfiguration(@Parameter String name)
      Constructor.
      Parameters:
      name - name from configuration