Package org.apache.zookeeper.server.util
Class SerializeUtils
- java.lang.Object
 - 
- org.apache.zookeeper.server.util.SerializeUtils
 
 
- 
public class SerializeUtils extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description SerializeUtils() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddeserializeSnapshot(DataTree dt, InputArchive ia, Map<Long,Integer> sessions)static TxnLogEntrydeserializeTxn(byte[] txnBytes)static voidserializeSnapshot(DataTree dt, OutputArchive oa, Map<Long,Integer> sessions) 
 - 
 
- 
- 
Method Detail
- 
deserializeTxn
public static TxnLogEntry deserializeTxn(byte[] txnBytes) 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
 
 - 
 
 -