public class RedisServerListInfo extends Object implements Comparable<RedisServerListInfo>
Constructor and Description |
---|
RedisServerListInfo(RedisServerInfo[] pservers)
Creates a RedisServerListInfo from Individual RedisServerInfo's
|
RedisServerListInfo(String connectionString)
Creates a RedisServerListInfo from a Connection String containing a comma separated list of RedisServerInfos.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RedisServerListInfo o) |
boolean |
equals(Object o) |
String |
getConnectionString() |
List<RedisServerInfo> |
getServerList() |
int |
hashCode() |
public RedisServerListInfo(RedisServerInfo[] pservers)
pservers
- Individual Redis Server Infospublic RedisServerListInfo(String connectionString)
connectionString
- Connection Stringpublic int compareTo(RedisServerListInfo o)
compareTo
in interface Comparable<RedisServerListInfo>
public List<RedisServerInfo> getServerList()
public String getConnectionString()
Copyright © 2013- Suresh Mahalingam. All Rights Reserved.