Class PendingTaskManager
java.lang.Object
org.apache.flink.runtime.resourcemanager.slotmanager.PendingTaskManager
Represents a pending task manager in the
SlotManager.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclearPendingAllocationsOfJob(org.apache.flink.api.common.JobID jobId) intMap<org.apache.flink.api.common.JobID,ResourceCounter> voidreplaceAllPendingAllocations(Map<org.apache.flink.api.common.JobID, ResourceCounter> pendingSlotAllocations) toString()
-
Constructor Details
-
PendingTaskManager
-
-
Method Details
-
getTotalResourceProfile
-
getDefaultSlotResourceProfile
-
getPendingTaskManagerId
-
getNumSlots
public int getNumSlots() -
getUnusedResource
-
getPendingSlotAllocationRecords
-
clearAllPendingAllocations
public void clearAllPendingAllocations() -
replaceAllPendingAllocations
public void replaceAllPendingAllocations(Map<org.apache.flink.api.common.JobID, ResourceCounter> pendingSlotAllocations) -
clearPendingAllocationsOfJob
public void clearPendingAllocationsOfJob(org.apache.flink.api.common.JobID jobId) -
toString
-