Class ExecutionAttemptID
java.lang.Object
org.apache.flink.runtime.executiongraph.ExecutionAttemptID
- All Implemented Interfaces:
Serializable
Unique identifier for the attempt to execute a tasks. Multiple attempts happen in cases of
failures and recovery.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionAttemptID(ExecutionGraphID executionGraphId, ExecutionVertexID executionVertexId, int attemptNumber) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ExecutionAttemptIDfromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf) intstatic intintinthashCode()static ExecutionAttemptIDrandomId()toString()voidwriteTo(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf)
-
Constructor Details
-
ExecutionAttemptID
public ExecutionAttemptID(ExecutionGraphID executionGraphId, ExecutionVertexID executionVertexId, int attemptNumber)
-
-
Method Details
-
getExecutionVertexId
-
getJobVertexId
-
getSubtaskIndex
public int getSubtaskIndex() -
getAttemptNumber
public int getAttemptNumber() -
writeTo
public void writeTo(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf) -
fromByteBuf
public static ExecutionAttemptID fromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf) -
getByteBufLength
public static int getByteBufLength() -
equals
-
hashCode
public int hashCode() -
toString
-
randomId
-