public class FileWALPointer extends Object implements WALPointer, Comparable<FileWALPointer>
| 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 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 Fabric : ver. 2.4.0 Release Date : March 5 2018