Class DefaultSubtaskAttemptNumberStore
java.lang.Object
org.apache.flink.runtime.executiongraph.DefaultSubtaskAttemptNumberStore
- All Implemented Interfaces:
SubtaskAttemptNumberStore
Simple container for subtask attempt counts backed by a list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetAttemptCount(int subtaskIndex) Returns the attempt number for the given subtask.
-
Constructor Details
-
DefaultSubtaskAttemptNumberStore
-
-
Method Details
-
getAttemptCount
public int getAttemptCount(int subtaskIndex) Description copied from interface:SubtaskAttemptNumberStoreReturns the attempt number for the given subtask.- Specified by:
getAttemptCountin interfaceSubtaskAttemptNumberStore- Parameters:
subtaskIndex- subtask to return the attempt number for- Returns:
- attempt number for the given subtask
-