Class IncrementalSnapshotFinishRecord
- java.lang.Object
-
- org.apache.ignite.internal.pagemem.wal.record.WALRecord
-
- org.apache.ignite.internal.pagemem.wal.record.IncrementalSnapshotFinishRecord
-
public class IncrementalSnapshotFinishRecord extends WALRecord
This record is written to WAL after incremental snapshot finished on a baseline node.During recovery node must apply:
- 1. Transactions committed before
IncrementalSnapshotStartRecordexcept those contained inexcluded(). - 2. Transactions committed between
IncrementalSnapshotStartRecordandIncrementalSnapshotFinishRecordand contained inincluded().
- 1. Transactions committed before
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ignite.internal.pagemem.wal.record.WALRecord
WALRecord.RecordPurpose, WALRecord.RecordType
-
-
Constructor Summary
Constructors Constructor Description IncrementalSnapshotFinishRecord(UUID id, Set<GridCacheVersion> included, Set<GridCacheVersion> excluded)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdataSize()Calculating the size of the record.Set<GridCacheVersion>excluded()UUIDid()Set<GridCacheVersion>included()StringtoString()WALRecord.RecordTypetype()
-
-
-
Constructor Detail
-
IncrementalSnapshotFinishRecord
public IncrementalSnapshotFinishRecord(UUID id, Set<GridCacheVersion> included, Set<GridCacheVersion> excluded)
-
-
Method Detail
-
included
public Set<GridCacheVersion> included()
-
excluded
public Set<GridCacheVersion> excluded()
-
id
public UUID id()
-
type
public WALRecord.RecordType type()
-
dataSize
public int dataSize()
Calculating the size of the record.- Returns:
- Size in bytes.
-
-