Class CommittableSummary<CommT>

  • Type Parameters:
    CommT - type of the committable
    All Implemented Interfaces:
    CommittableMessage<CommT>

    @Experimental
    public class CommittableSummary<CommT>
    extends Object
    implements CommittableMessage<CommT>
    This class tracks the information about committables belonging to one checkpoint coming from one subtask.

    It is sent to down-stream consumers to depict the progress of the committing process.

    • Constructor Detail

      • CommittableSummary

        public CommittableSummary​(int subtaskId,
                                  int numberOfSubtasks,
                                  long checkpointId,
                                  int numberOfCommittables,
                                  int numberOfFailedCommittables)
      • CommittableSummary

        @Deprecated
        public CommittableSummary​(int subtaskId,
                                  int numberOfSubtasks,
                                  long checkpointId,
                                  int numberOfCommittables,
                                  int numberOfPendingCommittables,
                                  int numberOfFailedCommittables)
        Deprecated.
    • Method Detail

      • getNumberOfSubtasks

        public int getNumberOfSubtasks()
      • getNumberOfCommittables

        public int getNumberOfCommittables()
      • getNumberOfPendingCommittables

        @Deprecated
        public int getNumberOfPendingCommittables()
        Deprecated.
      • getNumberOfFailedCommittables

        public int getNumberOfFailedCommittables()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object