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 void
deserializeSnapshot
(DataTree dt, InputArchive ia, Map<Long, Integer> sessions) static TxnLogEntry
deserializeTxn
(byte[] txnBytes) static void
serializeSnapshot
(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
-