voldemort.xml
Class ClusterMapper
java.lang.Object
voldemort.xml.ClusterMapper
public class ClusterMapper
- extends java.lang.Object
Parse a cluster xml file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_PARTITIONID
public static final java.lang.Integer MAX_PARTITIONID
ClusterMapper
public ClusterMapper()
readCluster
public Cluster readCluster(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
readCluster
public Cluster readCluster(java.io.Reader input)
readCluster
public Cluster readCluster(java.io.Reader input,
boolean verifySchema)
readServer
public Node readServer(org.jdom.Element server)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
writeCluster
public java.lang.String writeCluster(Cluster cluster)
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu