public final class SlotSharingManager.MultiTaskSlot extends SlotSharingManager.TaskSlot implements PhysicalSlot.Payload
SlotSharingManager.TaskSlot implementation which can have multiple other task slots assigned as children.| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(org.apache.flink.util.AbstractID groupId)
Checks whether this slot or any of its children contains the given groupId.
|
ResourceProfile |
getReservedResources()
Gets the total reserved resources of the slot and its descendants.
|
void |
release(Throwable cause)
Release the task slot.
|
String |
toString() |
getGroupId, getSlotRequestIdpublic boolean contains(org.apache.flink.util.AbstractID groupId)
contains in class SlotSharingManager.TaskSlotgroupId - which to check whether it is containedpublic void release(Throwable cause)
SlotSharingManager.TaskSlotrelease in interface PhysicalSlot.Payloadrelease in class SlotSharingManager.TaskSlotcause - for the releasepublic ResourceProfile getReservedResources()
SlotSharingManager.TaskSlotgetReservedResources in class SlotSharingManager.TaskSlotCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.