public class SerializeUtils extends Object
| Constructor and Description | 
|---|
SerializeUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
deserializeSnapshot(DataTree dt,
                   InputArchive ia,
                   Map<Long,Integer> sessions)  | 
static Record | 
deserializeTxn(byte[] txnBytes,
              TxnHeader hdr)  | 
static byte[] | 
serializeRequest(Request request)  | 
static void | 
serializeSnapshot(DataTree dt,
                 OutputArchive oa,
                 Map<Long,Integer> sessions)  | 
public static Record deserializeTxn(byte[] txnBytes, TxnHeader hdr) throws IOException
IOExceptionpublic static void deserializeSnapshot(DataTree dt, InputArchive ia, Map<Long,Integer> sessions) throws IOException
IOExceptionpublic static void serializeSnapshot(DataTree dt, OutputArchive oa, Map<Long,Integer> sessions) throws IOException
IOExceptionpublic static byte[] serializeRequest(Request request)
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.