public abstract static class SlotSharingManager.TaskSlot extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
contains(AbstractID groupId)
Check whether the task slot contains the given groupId.
|
AbstractID |
getGroupId() |
SlotRequestId |
getSlotRequestId() |
abstract void |
release(Throwable cause)
Release the task slot.
|
public SlotRequestId getSlotRequestId()
@Nullable public AbstractID getGroupId()
public boolean contains(AbstractID groupId)
groupId
- which to check whether it is containedpublic abstract void release(Throwable cause)
cause
- for the releaseCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.