org.apache.zookeeper.server.util
Class SerializeUtils

java.lang.Object
  extended by org.apache.zookeeper.server.util.SerializeUtils

public class SerializeUtils
extends Object


Constructor Summary
SerializeUtils()
           
 
Method Summary
static void deserializeSnapshot(DataTree dt, org.apache.jute.InputArchive ia, Map<Long,Integer> sessions)
           
static org.apache.jute.Record deserializeTxn(byte[] txnBytes, TxnHeader hdr)
           
static void serializeSnapshot(DataTree dt, org.apache.jute.OutputArchive oa, Map<Long,Integer> sessions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializeUtils

public SerializeUtils()
Method Detail

deserializeTxn

public static org.apache.jute.Record deserializeTxn(byte[] txnBytes,
                                                    TxnHeader hdr)
                                             throws IOException
Throws:
IOException

deserializeSnapshot

public static void deserializeSnapshot(DataTree dt,
                                       org.apache.jute.InputArchive ia,
                                       Map<Long,Integer> sessions)
                                throws IOException
Throws:
IOException

serializeSnapshot

public static void serializeSnapshot(DataTree dt,
                                     org.apache.jute.OutputArchive oa,
                                     Map<Long,Integer> sessions)
                              throws IOException
Throws:
IOException


Copyright © 2011 The Apache Software Foundation