| Package | Description |
|---|---|
| org.apache.ignite.internal.processors.cache.persistence |
This package contain cache with persistence implementation.
|
| org.apache.ignite.internal.processors.cache.persistence.checkpoint |
| Modifier and Type | Method and Description |
|---|---|
CheckpointEntry |
GridCacheDatabaseSharedManager.createCheckPointEntry(long cpTs,
WALPointer ptr,
UUID cpId,
@Nullable CheckpointRecord rec,
CheckpointEntryType type) |
| Modifier and Type | Method and Description |
|---|---|
static String |
GridCacheDatabaseSharedManager.checkpointFileName(CheckpointEntry cp,
CheckpointEntryType type) |
void |
GridCacheDatabaseSharedManager.writeCheckpointEntry(ByteBuffer entryBuf,
CheckpointEntry cp,
CheckpointEntryType type)
Writes checkpoint entry buffer
entryBuf to specified checkpoint file with 2-phase protocol. |
| Modifier and Type | Method and Description |
|---|---|
CheckpointEntry |
CheckpointHistory.firstCheckpoint() |
CheckpointEntry |
CheckpointHistory.lastCheckpoint() |
CheckpointEntry |
CheckpointHistory.lastCheckpointMarkingAsInapplicable(Integer grpId)
Prepare last checkpoint in history that will marked as inapplicable.
|
| Modifier and Type | Method and Description |
|---|---|
List<CheckpointEntry> |
CheckpointHistory.onCheckpointFinished(GridCacheDatabaseSharedManager.Checkpoint chp,
boolean truncateWal)
Logs and clears checkpoint history after checkpoint finish.
|
List<CheckpointEntry> |
CheckpointHistory.onWalTruncated(WALPointer ptr)
Clears checkpoint history after WAL truncation.
|
Map<Integer,Map<Integer,CheckpointEntry>> |
CheckpointHistory.searchAndReserveCheckpoints(Map<Integer,Set<Integer>> groupsAndPartitions)
Finds and reserves earliest valid checkpoint for each of given groups and partitions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CheckpointHistory.addCheckpoint(CheckpointEntry entry)
Adds checkpoint entry after the corresponding WAL record has been written to WAL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CheckpointHistory.initialize(List<CheckpointEntry> checkpoints) |
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020