public static class Log.Entry
extends java.lang.Object
Log
with a
Log.Position
.Modifier and Type | Field and Description |
---|---|
byte[] |
data
The data at the given position.
|
Log.Position |
position
The position of this entry.
|
Constructor and Description |
---|
Entry(Log.Position position,
byte[] data)
Creates a log entry.
|
public final Log.Position position
Log.Position
public final byte[] data
public Entry(Log.Position position, byte[] data)
Entries are typically only created by the log implementation. Log users should only ever need to call this constructor in unit tests.
position
- The unique position of this entry within the log.data
- The content stored in this entry.