Class CheckCpHistTask

  • All Implemented Interfaces:
    Serializable, ComputeTask<Map<UUID,​Map<Integer,​Set<Integer>>>,​Boolean>

    @GridInternal
    public class CheckCpHistTask
    extends ComputeTaskAdapter<Map<UUID,​Map<Integer,​Set<Integer>>>,​Boolean>
    Task that checks whether last checkpoint is applicable for providing history for all groups and partitions that are passed as parameters. If at least one group or partition can't be supplied due to absence of last checkpoint, the task enforces a checkpoint to ensure possibility of the historical rebalancing. The task takes as parametes a collection by fillowing structure: Map{node id -> Map{Group id -> Set{Partition id}}}. Each node that is mentioned in parameter is receiving own particular collection: Map{Group id -> Set{Partition id}}.
    See Also:
    Serialized Form
    • Field Detail

      • CP_REASON

        public static final String CP_REASON
        Reason of checkpoint, which can be triggered by this task.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CheckCpHistTask

        public CheckCpHistTask()