Package org.apache.zookeeper.server.util
Class SerializeUtils
- java.lang.Object
- 
- org.apache.zookeeper.server.util.SerializeUtils
 
- 
 public class SerializeUtils extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description SerializeUtils()
 - 
Method SummaryAll 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 byte[]serializeRequest(Request request)static voidserializeSnapshot(DataTree dt, OutputArchive oa, Map<Long,Integer> sessions)
 
- 
- 
- 
Method Detail- 
deserializeTxnpublic static TxnLogEntry deserializeTxn(byte[] txnBytes) throws IOException - Throws:
- IOException
 
 - 
deserializeSnapshotpublic static void deserializeSnapshot(DataTree dt, InputArchive ia, Map<Long,Integer> sessions) throws IOException - Throws:
- IOException
 
 - 
serializeSnapshotpublic static void serializeSnapshot(DataTree dt, OutputArchive oa, Map<Long,Integer> sessions) throws IOException - Throws:
- IOException
 
 - 
serializeRequestpublic static byte[] serializeRequest(Request request) 
 
- 
 
-