public class ClusterServerConfig extends Object implements Serializable
Constructor and Description |
---|
ClusterServerConfig(List<ClusterNodes> clusterNodesList,
List<StoreConfig> storeConfigList,
int clusterNo,
String dataPath,
String configPath,
int maxQueue,
int maxThread,
int port,
int replicaPort,
String host,
int freq) |
ClusterServerConfig(List<ClusterNodes> clusterNodesList,
List<StoreConfig> storeConfigList,
int clusterNo,
String dataPath,
String configPath,
int port,
int replicaPort,
String host) |
ClusterServerConfig(List<ClusterNodes> clusterNodesList,
List<StoreConfig> storeConfigList,
int clusterNo,
String dataPath,
String configPath,
int port,
int replicaPort,
String host,
int maxQueue,
int maxThread) |
Modifier and Type | Method and Description |
---|---|
ClusterNodes |
findClusterNodes(int clusterNo) |
int |
getClusterNo() |
List<ClusterNodes> |
getClusterNodesList() |
String |
getConfigPath() |
String |
getDataPath() |
int |
getFreq() |
String |
getHost() |
int |
getMaxQueue() |
int |
getMaxThread() |
int |
getPort() |
int |
getReplicaPort() |
List<StoreConfig> |
getStoreConfigList() |
void |
setFreq(int freq) |
String |
toString() |
public ClusterServerConfig(List<ClusterNodes> clusterNodesList, List<StoreConfig> storeConfigList, int clusterNo, String dataPath, String configPath, int maxQueue, int maxThread, int port, int replicaPort, String host, int freq)
public ClusterServerConfig(List<ClusterNodes> clusterNodesList, List<StoreConfig> storeConfigList, int clusterNo, String dataPath, String configPath, int port, int replicaPort, String host)
public ClusterServerConfig(List<ClusterNodes> clusterNodesList, List<StoreConfig> storeConfigList, int clusterNo, String dataPath, String configPath, int port, int replicaPort, String host, int maxQueue, int maxThread)
public List<ClusterNodes> getClusterNodesList()
public ClusterNodes findClusterNodes(int clusterNo)
public List<StoreConfig> getStoreConfigList()
public int getClusterNo()
public String getDataPath()
public String getConfigPath()
public int getMaxQueue()
public int getMaxThread()
public int getPort()
public int getReplicaPort()
public String getHost()
public int getFreq()
public void setFreq(int freq)
Copyright © 2016. All rights reserved.