| Package | Description |
|---|---|
| org.apache.ignite.internal.processors.cache.persistence |
This package contain cache with persitence 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() |
@Nullable CheckpointEntry |
CheckpointHistory.searchCheckpointEntry(int grpId,
int part,
long partCntrSince)
Tries to search for a WAL pointer for the given partition counter start.
|
| 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.8.1 Release Date : May 21 2020