Class SerializeUtils


  • public class SerializeUtils
    extends java.lang.Object
    • Constructor Detail

      • SerializeUtils

        public SerializeUtils()
    • Method Detail

      • deserializeTxn

        public static TxnLogEntry deserializeTxn​(byte[] txnBytes)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeSnapshot

        public static void deserializeSnapshot​(DataTree dt,
                                               InputArchive ia,
                                               java.util.Map<java.lang.Long,​java.lang.Integer> sessions)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • serializeSnapshot

        public static void serializeSnapshot​(DataTree dt,
                                             OutputArchive oa,
                                             java.util.Map<java.lang.Long,​java.lang.Integer> sessions)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • serializeRequest

        public static byte[] serializeRequest​(Request request)