public class CheckpointRecord extends WALRecord
WALRecord.RecordType
Constructor and Description |
---|
CheckpointRecord(UUID cpId,
WALPointer cpMark,
boolean end) |
CheckpointRecord(WALPointer cpMark,
boolean end) |
Modifier and Type | Method and Description |
---|---|
void |
addCacheState(int cacheId,
CacheState state) |
Map<Integer,CacheState> |
cacheStates() |
void |
cacheStates(Map<Integer,CacheState> cacheStates) |
UUID |
checkpointId() |
WALPointer |
checkpointMark() |
boolean |
end() |
WALRecord.RecordType |
type() |
public CheckpointRecord(WALPointer cpMark, boolean end)
cpMark
- Checkpoint mark.end
- Checkpoint end flag.public CheckpointRecord(UUID cpId, WALPointer cpMark, boolean end)
cpId
- Checkpoint ID.cpMark
- Checkpoint mark.end
- Checkpoint end flag.public WALRecord.RecordType type()
public void addCacheState(int cacheId, CacheState state)
cacheId
- Cache ID.state
- Cache state.public void cacheStates(Map<Integer,CacheState> cacheStates)
cacheStates
- Cache states.public Map<Integer,CacheState> cacheStates()
public UUID checkpointId()
public boolean end()
public WALPointer checkpointMark()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017