Class ExecutionAttemptID
- java.lang.Object
-
- org.apache.flink.runtime.executiongraph.ExecutionAttemptID
-
- All Implemented Interfaces:
Serializable
public class ExecutionAttemptID extends Object implements Serializable
Unique identifier for the attempt to execute a tasks. Multiple attempts happen in cases of failures and recovery.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecutionAttemptID(ExecutionGraphID executionGraphId, ExecutionVertexID executionVertexId, int attemptNumber)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static ExecutionAttemptID
fromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf)
int
getAttemptNumber()
static int
getByteBufLength()
ExecutionVertexID
getExecutionVertexId()
JobVertexID
getJobVertexId()
int
getSubtaskIndex()
int
hashCode()
static ExecutionAttemptID
randomId()
String
toString()
void
writeTo(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf)
-
-
-
Constructor Detail
-
ExecutionAttemptID
public ExecutionAttemptID(ExecutionGraphID executionGraphId, ExecutionVertexID executionVertexId, int attemptNumber)
-
-
Method Detail
-
getExecutionVertexId
public ExecutionVertexID getExecutionVertexId()
-
getJobVertexId
public JobVertexID 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()
-
randomId
public static ExecutionAttemptID randomId()
-
-