public class FineGrainedTaskManagerSlot extends Object implements TaskManagerSlotInformation
FineGrainedSlotManager.
Note that it should not in the state of SlotState.FREE.
| Constructor and Description |
|---|
FineGrainedTaskManagerSlot(AllocationID allocationId,
org.apache.flink.api.common.JobID jobId,
ResourceProfile resourceProfile,
TaskExecutorConnection taskManagerConnection,
org.apache.flink.runtime.resourcemanager.slotmanager.SlotState slotState) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface TaskManagerSlotInformationpublic org.apache.flink.runtime.resourcemanager.slotmanager.SlotState getState()
getState in interface TaskManagerSlotInformationpublic org.apache.flink.api.common.JobID getJobId()
getJobId in interface TaskManagerSlotInformationpublic AllocationID getAllocationId()
getAllocationId in interface TaskManagerSlotInformationpublic SlotID getSlotId()
getSlotId in interface TaskManagerSlotInformationpublic InstanceID getInstanceId()
getInstanceId in interface TaskManagerSlotInformationpublic TaskExecutorConnection getTaskManagerConnection()
getTaskManagerConnection in interface TaskManagerSlotInformationpublic void completeAllocation()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.