| Modifier and Type | Method and Description |
|---|---|
static SlotInfoWithUtilization |
from(SlotInfo slotInfo,
double taskExecutorUtilization) |
AllocationID |
getAllocationId()
Gets the id under which the slot has been allocated on the TaskManager.
|
int |
getPhysicalSlotNumber()
Gets the number of the slot.
|
ResourceProfile |
getResourceProfile()
Returns the resource profile of the slot.
|
TaskManagerLocation |
getTaskManagerLocation()
Gets the location info of the TaskManager that offers this slot.
|
public AllocationID getAllocationId()
SlotInfogetAllocationId in interface SlotInfopublic TaskManagerLocation getTaskManagerLocation()
SlotInfogetTaskManagerLocation in interface SlotInfopublic int getPhysicalSlotNumber()
SlotInfogetPhysicalSlotNumber in interface SlotInfopublic ResourceProfile getResourceProfile()
SlotInfogetResourceProfile in interface SlotInfopublic static SlotInfoWithUtilization from(SlotInfo slotInfo, double taskExecutorUtilization)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.