Interface DataRedisConnectionDetails.MasterReplica

Enclosing interface:
DataRedisConnectionDetails

public static interface DataRedisConnectionDetails.MasterReplica
Redis master replica configuration.
Since:
4.0.0
Author:
Moritz Halbritter, Andy Wilkinson
  • Method Details

    • getDatabase

      default int getDatabase()
      Database index used by the connection factory.
      Returns:
      the database index used by the connection factory
      Since:
      4.2.0
    • getNodes

      Static nodes to use. This represents the full list of cluster nodes and is required to have at least one entry.
      Returns:
      the nodes to use