public class DefaultSubtaskAttemptNumberStore extends Object implements SubtaskAttemptNumberStore
Constructor and Description |
---|
DefaultSubtaskAttemptNumberStore(List<Integer> attemptCounts) |
Modifier and Type | Method and Description |
---|---|
int |
getAttemptCount(int subtaskIndex)
Returns the attempt number for the given subtask.
|
public int getAttemptCount(int subtaskIndex)
SubtaskAttemptNumberStore
getAttemptCount
in interface SubtaskAttemptNumberStore
subtaskIndex
- subtask to return the attempt number forCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.