public class DefaultVertexAttemptNumberStore extends Object implements MutableVertexAttemptNumberStore
| 构造器和说明 |
|---|
DefaultVertexAttemptNumberStore() |
| 限定符和类型 | 方法和说明 |
|---|---|
SubtaskAttemptNumberStore |
getAttemptCounts(JobVertexID vertexId)
Returns the attempt numbers for the given vertex.
|
void |
setAttemptCount(JobVertexID jobVertexId,
int subtaskIndex,
int attemptNumber)
Sets the attempt count for the given subtask of the given vertex.
|
public SubtaskAttemptNumberStore getAttemptCounts(JobVertexID vertexId)
VertexAttemptNumberStoregetAttemptCounts 在接口中 VertexAttemptNumberStorevertexId - vertex for which the attempt numbers should be returnedpublic void setAttemptCount(JobVertexID jobVertexId, int subtaskIndex, int attemptNumber)
MutableVertexAttemptNumberStoresetAttemptCount 在接口中 MutableVertexAttemptNumberStorejobVertexId - vertex the subtask belongs tosubtaskIndex - subtask to set the attempt number forattemptNumber - attempt number to setCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.