Class PendingTaskManager
- java.lang.Object
-
- org.apache.flink.runtime.resourcemanager.slotmanager.PendingTaskManager
-
public class PendingTaskManager extends Object
Represents a pending task manager in theSlotManager
.
-
-
Constructor Summary
Constructors Constructor Description PendingTaskManager(ResourceProfile totalResourceProfile, int numSlots)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAllPendingAllocations()
void
clearPendingAllocationsOfJob(org.apache.flink.api.common.JobID jobId)
ResourceProfile
getDefaultSlotResourceProfile()
int
getNumSlots()
Map<org.apache.flink.api.common.JobID,ResourceCounter>
getPendingSlotAllocationRecords()
PendingTaskManagerId
getPendingTaskManagerId()
ResourceProfile
getTotalResourceProfile()
ResourceProfile
getUnusedResource()
void
replaceAllPendingAllocations(Map<org.apache.flink.api.common.JobID,ResourceCounter> pendingSlotAllocations)
String
toString()
-
-
-
Constructor Detail
-
PendingTaskManager
public PendingTaskManager(ResourceProfile totalResourceProfile, int numSlots)
-
-
Method Detail
-
getTotalResourceProfile
public ResourceProfile getTotalResourceProfile()
-
getDefaultSlotResourceProfile
public ResourceProfile getDefaultSlotResourceProfile()
-
getPendingTaskManagerId
public PendingTaskManagerId getPendingTaskManagerId()
-
getNumSlots
public int getNumSlots()
-
getUnusedResource
public ResourceProfile getUnusedResource()
-
getPendingSlotAllocationRecords
public Map<org.apache.flink.api.common.JobID,ResourceCounter> 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)
-
-