Class DefaultSubtaskAttemptNumberStore

    • Constructor Detail

      • DefaultSubtaskAttemptNumberStore

        public DefaultSubtaskAttemptNumberStore​(List<Integer> attemptCounts)
    • Method Detail

      • getAttemptCount

        public int getAttemptCount​(int subtaskIndex)
        Description copied from interface: SubtaskAttemptNumberStore
        Returns the attempt number for the given subtask.
        Specified by:
        getAttemptCount in interface SubtaskAttemptNumberStore
        Parameters:
        subtaskIndex - subtask to return the attempt number for
        Returns:
        attempt number for the given subtask