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 TxnLogEntry |
deserializeTxn(byte[] txnBytes) |
static byte[] |
serializeRequest(Request request) |
static void |
serializeSnapshot(DataTree dt,
OutputArchive oa,
Map<Long,Integer> sessions) |
public static TxnLogEntry deserializeTxn(byte[] txnBytes) 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.