public final class SlotSharingManager.SingleTaskSlot extends SlotSharingManager.TaskSlot
SlotSharingManager.TaskSlot
implementation which harbours a LogicalSlot
. The SlotSharingManager.SingleTaskSlot
cannot have any children assigned.Modifier and Type | Method and Description |
---|---|
ResourceProfile |
getReservedResources()
Gets the total reserved resources of the slot and its descendants.
|
void |
release(Throwable cause)
Release the task slot.
|
String |
toString() |
contains, getGroupId, getSlotRequestId
public void release(Throwable cause)
SlotSharingManager.TaskSlot
release
in class SlotSharingManager.TaskSlot
cause
- for the releasepublic ResourceProfile getReservedResources()
SlotSharingManager.TaskSlot
getReservedResources
in class SlotSharingManager.TaskSlot
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.