| Package | Description |
|---|---|
| org.apache.ignite.internal.processors.cache.persistence.checkpoint |
| Modifier and Type | Method and Description |
|---|---|
@Nullable CheckpointEntry |
CheckpointHistory.lastCheckpoint() |
CheckpointEntry |
CheckpointHistory.lastCheckpointMarkingAsInapplicable(Integer grpId)
Prepare last checkpoint in history that will marked as inapplicable.
|
CheckpointEntry |
CheckpointHistoryResult.reservedCheckoint() |
CheckpointEntry |
CheckpointMarkersStorage.writeCheckpointEntry(long cpTs,
UUID cpId,
WALPointer ptr,
@Nullable CheckpointRecord rec,
CheckpointEntryType type,
boolean skipSync)
Writes checkpoint entry buffer
entryBuf to specified checkpoint file with 2-phase protocol. |
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,T2<ReservationReason,Map<Integer,CheckpointEntry>>> |
CheckpointHistoryResult.earliestValidCheckpoints() |
List<CheckpointEntry> |
CheckpointHistory.onCheckpointFinished(org.apache.ignite.internal.processors.cache.persistence.checkpoint.Checkpoint chp)
Logs and clears checkpoint history after checkpoint finish.
|
List<CheckpointEntry> |
CheckpointHistory.onWalTruncated(WALPointer highBound)
Clears checkpoint history after WAL truncation.
|
List<CheckpointEntry> |
CheckpointHistory.removeCheckpoints(int countToRemove)
Removes checkpoints from history.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CheckpointHistory.addCheckpoint(CheckpointEntry entry,
Map<Integer,CacheState> cacheStates)
Adds checkpoint entry after the corresponding WAL record has been written to WAL.
|
static String |
CheckpointMarkersStorage.checkpointFileName(CheckpointEntry cp,
CheckpointEntryType type) |
boolean |
CheckpointHistory.isCheckpointApplicableForGroup(int grpId,
CheckpointEntry cp)
Checkpoint is not applicable when: 1) WAL was disabled somewhere after given checkpoint. 2) Checkpoint doesn't
contain specified
grpId. |
| Modifier and Type | Method and Description |
|---|---|
void |
CheckpointHistory.initialize(List<CheckpointEntry> checkpoints) |
| Constructor and Description |
|---|
CheckpointHistoryResult(Map<Integer,T2<ReservationReason,Map<Integer,CheckpointEntry>>> earliestValidCheckpoints,
CheckpointEntry reservedCheckoint)
Constructor.
|
| Constructor and Description |
|---|
CheckpointHistoryResult(Map<Integer,T2<ReservationReason,Map<Integer,CheckpointEntry>>> earliestValidCheckpoints,
CheckpointEntry reservedCheckoint)
Constructor.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021