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, org.apache.flink.api.common.JobID jobId, String jobTargetAddress, AllocationID allocationId, ResourceProfile resourceProfile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)AllocationIDgetAllocationId()org.apache.flink.api.common.JobIDgetJobId()StringgetJobTargetAddress()ResourceProfilegetResourceProfile()SlotIDgetSlotID()intgetSlotIndex()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
SlotAllocationSnapshot
public SlotAllocationSnapshot(SlotID slotID, org.apache.flink.api.common.JobID jobId, String jobTargetAddress, AllocationID allocationId, ResourceProfile resourceProfile)
-
-
Method Detail
-
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()
-
-