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:
  • Constructor Details

  • Method Details

    • 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()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • randomId

      public static ExecutionAttemptID randomId()