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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlotAllocationSnapshot(SlotID slotID, JobID jobId, String jobTargetAddress, AllocationID allocationId, ResourceProfile resourceProfile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
AllocationID
getAllocationId()
JobID
getJobId()
String
getJobTargetAddress()
ResourceProfile
getResourceProfile()
SlotID
getSlotID()
int
getSlotIndex()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
SlotAllocationSnapshot
public SlotAllocationSnapshot(SlotID slotID, JobID jobId, String jobTargetAddress, AllocationID allocationId, ResourceProfile resourceProfile)
-
-
Method Detail
-
getSlotID
public SlotID getSlotID()
-
getJobId
public JobID getJobId()
-
getJobTargetAddress
public String getJobTargetAddress()
-
getAllocationId
public AllocationID getAllocationId()
-
getResourceProfile
public ResourceProfile getResourceProfile()
-
getSlotIndex
public int getSlotIndex()
-
-