Class EarliestCheckpointMapSnapshot

    • Constructor Detail

      • EarliestCheckpointMapSnapshot

        public EarliestCheckpointMapSnapshot​(Set<UUID> checkpointIds,
                                             Map<UUID,​Map<Integer,​org.apache.ignite.internal.processors.cache.persistence.checkpoint.EarliestCheckpointMapSnapshot.GroupStateSnapshot>> earliestCp)
        Constructor.
      • EarliestCheckpointMapSnapshot

        public EarliestCheckpointMapSnapshot()
        Default constructor.
    • Method Detail

      • groupState

        @Nullable
        public @Nullable Map<Integer,​CheckpointEntry.GroupState> groupState​(UUID checkpointId)
        Gets a group state by a checkpoint id.
        Parameters:
        checkpointId - Checkpoint id.
        Returns:
        Group state.
      • checkpointWasPresent

        public boolean checkpointWasPresent​(UUID checkpointId)
        Returns true if a checkpoint was present during the snapshot capture, false otherwise.
        Parameters:
        checkpointId - Checkpoint id.
        Returns:
        true if checkpoint was present, false otherwise.