public class RedisClusterConfig extends DefaultConfiguration
构造器和说明 |
---|
RedisClusterConfig() |
限定符和类型 | 方法和说明 |
---|---|
void |
addServer(HostAndPort config) |
static RedisClusterConfig |
getInstance() |
int |
getMaxConnection() |
java.util.Collection<HostAndPort> |
getServers() |
void |
removeServer(HostAndPort config) |
void |
setMaxConnection(int maxConnection) |
void |
setServers(java.util.Collection<HostAndPort> servers) |
getNameSpace
clone, initialize, mirror
public static RedisClusterConfig getInstance()
public void addServer(HostAndPort config)
public void removeServer(HostAndPort config)
public void setServers(java.util.Collection<HostAndPort> servers)
public void setMaxConnection(int maxConnection)
public int getMaxConnection()
public java.util.Collection<HostAndPort> getServers()