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
IOException
public static void deserializeSnapshot(DataTree dt, InputArchive ia, Map<Long,Integer> sessions) throws IOException
IOException
public static void serializeSnapshot(DataTree dt, OutputArchive oa, Map<Long,Integer> sessions) throws IOException
IOException
public static byte[] serializeRequest(Request request)
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.