Class SlotAllocationSnapshot

java.lang.Object
org.apache.flink.runtime.taskexecutor.slot.SlotAllocationSnapshot
All Implemented Interfaces:
Serializable

public class SlotAllocationSnapshot extends Object implements Serializable
Model to save local slot allocation info.
See Also:
  • Constructor Details

    • SlotAllocationSnapshot

      public SlotAllocationSnapshot(SlotID slotID, org.apache.flink.api.common.JobID jobId, String jobTargetAddress, AllocationID allocationId, ResourceProfile resourceProfile)
  • Method Details

    • getSlotID

      public SlotID getSlotID()
    • getJobId

      public org.apache.flink.api.common.JobID getJobId()
    • getJobTargetAddress

      public String getJobTargetAddress()
    • getAllocationId

      public AllocationID getAllocationId()
    • getResourceProfile

      public ResourceProfile getResourceProfile()
    • getSlotIndex

      public int getSlotIndex()
    • toString

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object