Modifier and Type | Interface and Description |
---|---|
interface |
SlotContext
Interface for the context of a
LogicalSlot . |
Modifier and Type | Interface and Description |
---|---|
interface |
PhysicalSlot
The context of an
AllocatedSlot . |
Modifier and Type | Method and Description |
---|---|
SlotInfo |
AllocatedSlotPool.FreeSlotInfo.asSlotInfo() |
SlotInfo |
SlotSelectionStrategy.SlotInfoAndLocality.getSlotInfo() |
SlotInfo |
FreeSlotInfoTracker.getSlotInfo(AllocationID allocationId)
Get slot info by allocation id, this slot must exist.
|
SlotInfo |
DefaultFreeSlotInfoTracker.getSlotInfo(AllocationID allocationId) |
Modifier and Type | Method and Description |
---|---|
Collection<SlotInfo> |
SlotPool.getAllocatedSlotsInformation()
Returns a list of
SlotInfo objects about all slots that are currently allocated in
the slot pool. |
Collection<SlotInfo> |
DeclarativeSlotPoolBridge.getAllocatedSlotsInformation() |
Collection<? extends SlotInfo> |
DefaultAllocatedSlotPool.getAllSlotsInformation() |
Collection<? extends SlotInfo> |
DefaultDeclarativeSlotPool.getAllSlotsInformation() |
Collection<? extends SlotInfo> |
DeclarativeSlotPool.getAllSlotsInformation()
Returns the slot information for all slots (free and allocated slots).
|
Collection<? extends SlotInfo> |
AllocatedSlotPool.getAllSlotsInformation()
Returns information about all slots in this pool.
|
Collection<SlotInfo> |
FreeSlotInfoTracker.getFreeSlotsInformation()
Returns a list of
SlotInfo objects about all slots that are currently available in
the slot pool. |
Collection<SlotInfo> |
DefaultFreeSlotInfoTracker.getFreeSlotsInformation() |
Optional<SlotInfo> |
DefaultAllocatedSlotPool.getSlotInformation(AllocationID allocationID) |
Optional<SlotInfo> |
AllocatedSlotPool.getSlotInformation(AllocationID allocationID)
Returns slot information specified by the given allocationId.
|
Modifier and Type | Method and Description |
---|---|
double |
FreeSlotInfoTracker.getTaskExecutorUtilization(SlotInfo slotInfo)
Get task executor utilization of this slot.
|
double |
DefaultFreeSlotInfoTracker.getTaskExecutorUtilization(SlotInfo slotInfo) |
static SlotSelectionStrategy.SlotInfoAndLocality |
SlotSelectionStrategy.SlotInfoAndLocality.of(SlotInfo slotInfo,
Locality locality) |
Constructor and Description |
---|
DefaultFreeSlotInfoTracker(Set<AllocationID> freeSlots,
Function<AllocationID,SlotInfo> slotInfoLookup,
Function<AllocationID,AllocatedSlotPool.FreeSlotInfo> freeSlotInfoLookup,
Function<ResourceID,Double> taskExecutorUtilizationLookup) |
Modifier and Type | Method and Description |
---|---|
SlotInfo |
JobSchedulingPlan.SlotAssignment.getSlotInfo() |
Constructor and Description |
---|
SlotAssignment(SlotInfo slotInfo,
Object target) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.