voldemort.xml
Class ClusterMapper

java.lang.Object
  extended by voldemort.xml.ClusterMapper

public class ClusterMapper
extends java.lang.Object

Parse a cluster xml file


Constructor Summary
ClusterMapper()
           
 
Method Summary
 Cluster readCluster(java.io.File f)
           
 Cluster readCluster(java.io.Reader input)
           
 Cluster readCluster(java.io.Reader input, boolean verifySchema)
           
 Node readServer(org.jdom.Element server)
           
 java.lang.String writeCluster(Cluster cluster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterMapper

public ClusterMapper()
Method Detail

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)

writeCluster

public java.lang.String writeCluster(Cluster cluster)


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao