org.apache.zookeeper.server.util
Class SerializeUtils
java.lang.Object
org.apache.zookeeper.server.util.SerializeUtils
public class SerializeUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializeUtils
public SerializeUtils()
deserializeTxn
public static Record deserializeTxn(InputArchive ia,
org.apache.zookeeper.txn.TxnHeader hdr)
throws IOException
- Throws:
IOException
deserializeSnapshot
public static void deserializeSnapshot(DataTree dt,
InputArchive ia,
Map<Long,Integer> sessions)
throws IOException
- Throws:
IOException
serializeSnapshot
public static void serializeSnapshot(DataTree dt,
OutputArchive oa,
Map<Long,Integer> sessions)
throws IOException
- Throws:
IOException