public abstract static class SlotSharingManager.TaskSlot extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(org.apache.flink.util.AbstractID groupId)
Check whether the task slot contains the given groupId.
|
org.apache.flink.util.AbstractID |
getGroupId() |
abstract ResourceProfile |
getReservedResources()
Gets the total reserved resources of the slot and its descendants.
|
SlotRequestId |
getSlotRequestId() |
abstract void |
release(Throwable cause)
Release the task slot.
|
public SlotRequestId getSlotRequestId()
@Nullable public org.apache.flink.util.AbstractID getGroupId()
public boolean contains(org.apache.flink.util.AbstractID groupId)
groupId - which to check whether it is containedpublic abstract void release(Throwable cause)
cause - for the releasepublic abstract ResourceProfile getReservedResources()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.