public class TombFileAccessor extends Object implements Closeable
MappedByteBuffer.| Constructor and Description |
|---|
TombFileAccessor(File tombFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Disposes the underlying
MappedByteBuffer. |
long |
keyPrefix() |
int |
loadAndCopyTombstone(int pos,
ChunkFileOut out)
Loads the header data of the tombstone at
pos into the cursor object and copies the tombstone into
the supplied ChunkFileOut. |
long |
recordSeq() |
int |
recordSize() |
public TombFileAccessor(File tombFile)
public int loadAndCopyTombstone(int pos,
ChunkFileOut out)
throws IOException
pos into the cursor object and copies the tombstone into
the supplied ChunkFileOut.pos - position (file offset) of the tombstone to load and copyout - destination for the tombstone dataIOException - if an IO operation failspublic final long recordSeq()
public final long keyPrefix()
public final int recordSize()
public final void close()
MappedByteBuffer.close in interface Closeableclose in interface AutoCloseableCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.