public class CheckpointEntry extends LogEntry
Modifier and Type | Class and Description |
---|---|
static class |
CheckpointEntry.CheckpointDictKey |
static class |
CheckpointEntry.CheckpointEntryType |
LogEntry.LogEntryType
Constructor and Description |
---|
CheckpointEntry(CheckpointEntry.CheckpointEntryType type,
String authorId,
UUID checkpointId,
UUID streamId,
Map<CheckpointEntry.CheckpointDictKey,String> dict,
MultiSMREntry smrEntries) |
Modifier and Type | Method and Description |
---|---|
void |
serialize(io.netty.buffer.ByteBuf b)
Serialize the given LogEntry into a given byte buffer.
|
deserialize, isMutation
public CheckpointEntry(CheckpointEntry.CheckpointEntryType type, String authorId, UUID checkpointId, UUID streamId, Map<CheckpointEntry.CheckpointDictKey,String> dict, MultiSMREntry smrEntries)
public void serialize(io.netty.buffer.ByteBuf b)
NOTE: This method has a side-effect of updating the this.smrEntriesBytes field.
serialize
in interface ICorfuSerializable
serialize
in class LogEntry
b
- The buffer to serialize into.Copyright © 2019 CorfuDB. All rights reserved.