public class WALPointer extends Object implements Serializable, Comparable<WALPointer>
Modifier and Type | Field and Description |
---|---|
static int |
POINTER_SIZE
Pointer serialized size.
|
Constructor and Description |
---|
WALPointer(long idx,
int fileOff,
int len) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(@NotNull WALPointer o) |
boolean |
equals(Object o) |
int |
fileOffset() |
int |
hashCode() |
long |
index() |
int |
length() |
void |
length(int len) |
WALPointer |
next()
Pointer to the next record.
|
String |
toString() |
public static final int POINTER_SIZE
public WALPointer(long idx, int fileOff, int len)
idx
- Absolute WAL segment file index (incremental counter).fileOff
- Offset in file, from the beginning.len
- Record length.public long index()
public int fileOffset()
public int length()
public void length(int len)
len
- Record length.public WALPointer next()
public int compareTo(@NotNull @NotNull WALPointer o)
compareTo
in interface Comparable<WALPointer>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021