Class 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
    • Method Detail

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

        public int hashCode()
        Overrides:
        hashCode in class Object