public class FileWALPointer extends Object implements WALPointer, Comparable<FileWALPointer>
| Constructor and Description |
|---|
FileWALPointer(long idx,
int fileOffset,
int len) |
FileWALPointer(long idx,
int fileOffset,
int len,
boolean forceFlush) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FileWALPointer o) |
boolean |
equals(Object o) |
int |
fileOffset() |
boolean |
forceFlush() |
int |
hashCode() |
long |
index() |
int |
length() |
void |
length(int len) |
WALPointer |
next()
Pointer to the next record.
|
String |
toString() |
public FileWALPointer(long idx,
int fileOffset,
int len)
idx - Absolute WAL segment file index (incremental counter)fileOffset - Offset in file, from the beginning.len - Record length.public FileWALPointer(long idx,
int fileOffset,
int len,
boolean forceFlush)
idx - Absolute WAL segment file index .fileOffset - Offset in file, from the beginning.len - Record length.forceFlush - Force flush flag.public long index()
public int fileOffset()
public int length()
public void length(int len)
len - Record length.public WALPointer next()
next in interface WALPointerpublic boolean forceFlush()
public int compareTo(FileWALPointer o)
compareTo in interface Comparable<FileWALPointer>
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017