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
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–2019 The Apache Software Foundation. All rights reserved.