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, toStringpublic 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.SnapshotInputStreamreadNextPage in class FileSnapshotInputStreambuf - 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.SnapshotInputStreamreadNextRecord in class FileSnapshotInputStreamnull if there are no records remaining.public void close()
throws IgniteCheckedException
close in interface AutoCloseableclose in class FileSnapshotInputStreamIgniteCheckedException
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025