public class DigestSnapshotInputStream extends FileSnapshotInputStream
Modifier and Type | Field and Description |
---|---|
static String |
CORRUPTED_PART_HASH_ERROR
Error message when data or index partition hash is corrupted in snapshot digest registry.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
readNextPage(ByteBuffer buf)
Reads data from stream and writes it into the provided buffer.
|
org.apache.ignite.internal.pagemem.wal.record.WALRecord |
readNextRecord()
Reads next WAL record from stream.
|
consistentId, of, of, partId, terminationPageReached, toString
public static final String CORRUPTED_PART_HASH_ERROR
public boolean readNextPage(ByteBuffer buf) throws IOException
readNextPage
in interface org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotInputStream
readNextPage
in class FileSnapshotInputStream
buf
- Byte buffer.IOException
- If failed.public org.apache.ignite.internal.pagemem.wal.record.WALRecord readNextRecord()
readNextRecord
in interface org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotInputStream
readNextRecord
in class FileSnapshotInputStream
null
if there are no records remaining.public void close() throws IgniteCheckedException
close
in interface AutoCloseable
close
in class FileSnapshotInputStream
IgniteCheckedException
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024