public class CheckpointEntry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckpointEntry.GroupState |
static class |
CheckpointEntry.GroupStateLazyStore
Group state lazy store.
|
| Constructor and Description |
|---|
CheckpointEntry(long cpTs,
WALPointer cpMark,
UUID cpId,
@Nullable Map<Integer,CacheState> cacheGrpStates)
Checkpoint entry constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UUID |
checkpointId() |
WALPointer |
checkpointMark() |
Map<Integer,CheckpointEntry.GroupState> |
groupState(GridCacheSharedContext cctx) |
Long |
partitionCounter(GridCacheSharedContext cctx,
int grpId,
int part) |
long |
timestamp() |
String |
toString() |
public CheckpointEntry(long cpTs,
WALPointer cpMark,
UUID cpId,
@Nullable
@Nullable Map<Integer,CacheState> cacheGrpStates)
grpStates is null then it will be inited lazy from wal pointer.cpTs - Checkpoint timestamp.cpMark - Checkpoint mark pointer.cpId - Checkpoint ID.cacheGrpStates - Cache groups states.public long timestamp()
public UUID checkpointId()
public WALPointer checkpointMark()
public Map<Integer,CheckpointEntry.GroupState> groupState(GridCacheSharedContext cctx) throws IgniteCheckedException
cctx - Cache shred context.IgniteCheckedExceptionpublic Long partitionCounter(GridCacheSharedContext cctx, int grpId, int part)
cctx - Cache shared context.grpId - Cache group ID.part - Partition ID.null if not found.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020