Class CheckpointHistoryResult
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointHistoryResult
-
public class CheckpointHistoryResult extends Object
Result of a checkpoint search and reservation.
-
-
Constructor Summary
Constructors Constructor Description CheckpointHistoryResult(Map<Integer,T2<ReservationReason,Map<Integer,CheckpointEntry>>> earliestValidCheckpoints, @Nullable CheckpointEntry reservedCheckpoint)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Integer,T2<ReservationReason,Map<Integer,CheckpointEntry>>>earliestValidCheckpoints()@Nullable WALPointerreservedCheckpointMark()Returns the oldest reserved checkpoint marker.
-
-
-
Constructor Detail
-
CheckpointHistoryResult
public CheckpointHistoryResult(Map<Integer,T2<ReservationReason,Map<Integer,CheckpointEntry>>> earliestValidCheckpoints, @Nullable @Nullable CheckpointEntry reservedCheckpoint)
Constructor.- Parameters:
earliestValidCheckpoints- Map (groupId, Reason why reservation cannot be made deeper): Map (partitionId, earliest valid checkpoint to history search)).reservedCheckpoint- Reserved checkpoint.
-
-
Method Detail
-
earliestValidCheckpoints
public Map<Integer,T2<ReservationReason,Map<Integer,CheckpointEntry>>> earliestValidCheckpoints()
- Returns:
- Map (groupId, Reason why reservation cannot be made deeper): Map (partitionId, earliest valid checkpoint to history search)).
-
reservedCheckpointMark
@Nullable public @Nullable WALPointer reservedCheckpointMark()
Returns the oldest reserved checkpoint marker.- Returns:
- Checkpoint mark.
-
-