Package org.apache.zookeeper.server.util
Class SerializeUtils
java.lang.Object
org.apache.zookeeper.server.util.SerializeUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
SerializeUtils
public SerializeUtils()
-
-
Method Details
-
deserializeTxn
- 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
-
serializeRequest
-