Class SlotRequestId

java.lang.Object
org.apache.flink.util.AbstractID
org.apache.flink.runtime.jobmaster.SlotRequestId
All Implemented Interfaces:
Serializable, Comparable<org.apache.flink.util.AbstractID>

public final class SlotRequestId extends org.apache.flink.util.AbstractID
This ID identifies the request for a slot from the Execution to the SlotPool or PhysicalSlotProvider. There are various slot types like PhysicalSlot, LogicalSlot or SharedSlot in the case of slot sharing.

This ID serves a different purpose than the AllocationID, which identifies the request of a physical slot, issued from the SlotPool via the ResourceManager to the TaskManager.

See Also:
  • Field Summary

    Fields inherited from class org.apache.flink.util.AbstractID

    lowerPart, SIZE, upperPart
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SlotRequestId(long lowerPart, long upperPart)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.apache.flink.util.AbstractID

    compareTo, equals, getBytes, getLowerPart, getUpperPart, hashCode, toHexString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SlotRequestId

      public SlotRequestId(long lowerPart, long upperPart)
    • SlotRequestId

      public SlotRequestId()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class org.apache.flink.util.AbstractID