public interface TaskManagerSlotInformation
| Modifier and Type | Method and Description |
|---|---|
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() |
default boolean |
isMatchingRequirement(ResourceProfile required)
Returns true if the required
ResourceProfile can be fulfilled by this slot. |
SlotID getSlotId()
@Nullable AllocationID getAllocationId()
@Nullable org.apache.flink.api.common.JobID getJobId()
org.apache.flink.runtime.resourcemanager.slotmanager.SlotState getState()
InstanceID getInstanceId()
TaskExecutorConnection getTaskManagerConnection()
default boolean isMatchingRequirement(ResourceProfile required)
ResourceProfile can be fulfilled by this slot.required - resourcesResourceProfile getResourceProfile()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.