public abstract static class GridCacheDatabaseSharedManager.RestoreStateContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
lastArchivedSegment
Last archived segment.
|
protected FileWALPointer |
lastRead
Last read record WAL pointer.
|
protected IgniteLogger |
log |
| Constructor and Description |
|---|
RestoreStateContext(long lastArchivedSegment,
IgniteLogger log) |
| Modifier and Type | Method and Description |
|---|---|
WALPointer |
lastReadRecordPointer() |
WALRecord |
next(WALIterator it)
Advance iterator to the next record.
|
boolean |
throwsCRCError() |
protected final IgniteLogger log
protected final long lastArchivedSegment
protected FileWALPointer lastRead
public RestoreStateContext(long lastArchivedSegment,
IgniteLogger log)
lastArchivedSegment - Last archived segment index.log - Ignite logger.public WALRecord next(WALIterator it) throws IgniteCheckedException
it - WAL iterator.IgniteCheckedException - If CRC check fail during binary recovery state or another exception occurring.public WALPointer lastReadRecordPointer()
public boolean throwsCRCError()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019