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, getSlotRequestIdpublic void release(Throwable cause)
SlotSharingManager.TaskSlotrelease in class SlotSharingManager.TaskSlotcause - for the releasepublic ResourceProfile getReservedResources()
SlotSharingManager.TaskSlotgetReservedResources in class SlotSharingManager.TaskSlotCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.