public class JournalEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
static JournalEntry |
ABORT |
static JournalEntry |
COMMIT |
| Constructor and Description |
|---|
JournalEntry(JournalEntryType type,
ComponentId componentId,
ByteBuffer bytes) |
| Modifier and Type | Method and Description |
|---|---|
static String |
format(JournalEntry entry) |
ByteBuffer |
getByteBuffer() |
ComponentId |
getComponentId() |
long |
getPosition() |
JournalEntryType |
getType() |
String |
toString() |
public static final JournalEntry COMMIT
public static final JournalEntry ABORT
public JournalEntry(JournalEntryType type, ComponentId componentId, ByteBuffer bytes)
public long getPosition()
public JournalEntryType getType()
public ComponentId getComponentId()
public ByteBuffer getByteBuffer()
public static String format(JournalEntry entry)
Licensed under the Apache License, Version 2.0