net.rubyeye.xmemcached.aws.ClusterConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmemcached Show documentation
Show all versions of xmemcached Show documentation
Extreme performance modern memcached client for java
package net.rubyeye.xmemcached.aws;
import java.io.Serializable;
import java.util.List;
/**
* Cluster configuration retrieved from ElasticCache.
*
* @author dennis
*
*/
public class ClusterConfiguration implements Serializable {
private static final long serialVersionUID = 6809891639636689050L;
public int getVersion() {
return version;
}
public void setVersion(int version) {
this.version = version;
}
public List getNodeList() {
return nodeList;
}
public void setNodeList(List nodeList) {
this.nodeList = nodeList;
}
private int version;
private List nodeList;
public ClusterConfiguration(int version, List nodeList) {
super();
this.version = version;
this.nodeList = nodeList;
}
public ClusterConfiguration() {
super();
}
public String toString() {
StringBuilder nodeList = new StringBuilder("{ Version: " + version + ", CacheNode List: ");
nodeList.append(this.nodeList);
nodeList.append("}");
return nodeList.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy