Class SerializeUtils


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

      Constructors 
      Constructor Description
      SerializeUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void deserializeSnapshot​(DataTree dt, org.apache.jute.InputArchive ia, java.util.Map<java.lang.Long,​java.lang.Integer> sessions)  
      static org.apache.jute.Record deserializeTxn​(byte[] txnBytes, TxnHeader hdr)  
      static byte[] serializeRequest​(Request request)  
      static void serializeSnapshot​(DataTree dt, org.apache.jute.OutputArchive oa, java.util.Map<java.lang.Long,​java.lang.Integer> sessions)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SerializeUtils

        public SerializeUtils()
    • Method Detail

      • deserializeTxn

        public static org.apache.jute.Record deserializeTxn​(byte[] txnBytes,
                                                            TxnHeader hdr)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeSnapshot

        public static void deserializeSnapshot​(DataTree dt,
                                               org.apache.jute.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,
                                             org.apache.jute.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)