Class RedisServer

java.lang.Object
org.springframework.data.redis.connection.RedisNode
org.springframework.data.redis.connection.RedisServer
All Implemented Interfaces:
NamedNode

public class RedisServer extends RedisNode
Since:
1.4
Author:
Christoph Strobl, Thomas Darimont, Franjo Zilic
  • Constructor Details

    • RedisServer

      public RedisServer(String host, int port)
      Creates a new RedisServer with the given host, port.
      Parameters:
      host - must not be null
      port -
    • RedisServer

      public RedisServer(String host, int port, @Nullable Properties properties)
      Creates a new RedisServer with the given host, port and properties.
      Parameters:
      host - must not be null
      port -
      properties - may be null
  • Method Details