public class FileWALPointer extends Object implements WALPointer, Comparable<FileWALPointer>
| Modifier and Type | Field and Description |
|---|---|
static int |
POINTER_SIZE
Pointer serialized size.
|
| Constructor and Description |
|---|
FileWALPointer(long idx,
int fileOff,
int len) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FileWALPointer 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 FileWALPointer(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()
next in interface WALPointerpublic int compareTo(@NotNull
FileWALPointer o)
compareTo in interface Comparable<FileWALPointer>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019