public class PendingTaskManager extends Object
SlotManager.| Constructor and Description |
|---|
PendingTaskManager(ResourceProfile totalResourceProfile,
int numSlots) |
| Modifier and Type | Method and 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() |
public PendingTaskManager(ResourceProfile totalResourceProfile, int numSlots)
public ResourceProfile getTotalResourceProfile()
public ResourceProfile getDefaultSlotResourceProfile()
public PendingTaskManagerId getPendingTaskManagerId()
public int getNumSlots()
public ResourceProfile getUnusedResource()
public Map<org.apache.flink.api.common.JobID,ResourceCounter> getPendingSlotAllocationRecords()
public void clearAllPendingAllocations()
public void replaceAllPendingAllocations(Map<org.apache.flink.api.common.JobID,ResourceCounter> pendingSlotAllocations)
public void clearPendingAllocationsOfJob(org.apache.flink.api.common.JobID jobId)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.