public class FineGrainedTaskManagerSlot extends Object implements TaskManagerSlotInformation
FineGrainedSlotManager.
Note that it should not in the state of SlotState.FREE.
| 构造器和说明 |
|---|
FineGrainedTaskManagerSlot(AllocationID allocationId,
org.apache.flink.api.common.JobID jobId,
ResourceProfile resourceProfile,
TaskExecutorConnection taskManagerConnection,
org.apache.flink.runtime.resourcemanager.slotmanager.SlotState slotState) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
completeAllocation() |
AllocationID |
getAllocationId() |
InstanceID |
getInstanceId() |
org.apache.flink.api.common.JobID |
getJobId() |
ResourceProfile |
getResourceProfile()
Get resource profile of this slot.
|
SlotID |
getSlotId() |
org.apache.flink.runtime.resourcemanager.slotmanager.SlotState |
getState() |
TaskExecutorConnection |
getTaskManagerConnection() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisMatchingRequirementpublic FineGrainedTaskManagerSlot(AllocationID allocationId, org.apache.flink.api.common.JobID jobId, ResourceProfile resourceProfile, TaskExecutorConnection taskManagerConnection, org.apache.flink.runtime.resourcemanager.slotmanager.SlotState slotState)
public ResourceProfile getResourceProfile()
TaskManagerSlotInformationgetResourceProfile 在接口中 TaskManagerSlotInformationpublic org.apache.flink.runtime.resourcemanager.slotmanager.SlotState getState()
getState 在接口中 TaskManagerSlotInformationpublic org.apache.flink.api.common.JobID getJobId()
getJobId 在接口中 TaskManagerSlotInformationpublic AllocationID getAllocationId()
getAllocationId 在接口中 TaskManagerSlotInformationpublic SlotID getSlotId()
getSlotId 在接口中 TaskManagerSlotInformationpublic InstanceID getInstanceId()
getInstanceId 在接口中 TaskManagerSlotInformationpublic TaskExecutorConnection getTaskManagerConnection()
public void completeAllocation()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.