public final class SlotSharingManager.MultiTaskSlot extends SlotSharingManager.TaskSlot
SlotSharingManager.TaskSlot
implementation which can have multiple other task slots assigned as children.Modifier and Type | Method and Description |
---|---|
boolean |
contains(AbstractID groupId)
Checks whether this slot or any of its children contains the given groupId.
|
void |
release(Throwable cause)
Release the task slot.
|
String |
toString() |
getGroupId, getSlotRequestId
public boolean contains(AbstractID groupId)
contains
in class SlotSharingManager.TaskSlot
groupId
- which to check whether it is containedpublic void release(Throwable cause)
SlotSharingManager.TaskSlot
release
in class SlotSharingManager.TaskSlot
cause
- for the releaseCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.