public interface SlotSelectionStrategy
Modifier and Type | Interface and Description |
---|---|
static class |
SlotSelectionStrategy.SlotInfoAndLocality
|
Modifier and Type | Method and Description |
---|---|
Optional<SlotSelectionStrategy.SlotInfoAndLocality> |
selectBestSlotForProfile(FreeSlotInfoTracker freeSlotInfoTracker,
SlotProfile slotProfile)
Selects the best
SlotInfo w.r.t. |
Optional<SlotSelectionStrategy.SlotInfoAndLocality> selectBestSlotForProfile(@Nonnull FreeSlotInfoTracker freeSlotInfoTracker, @Nonnull SlotProfile slotProfile)
SlotInfo
w.r.t. a certain selection criterion from the provided list
of available slots and considering the given SlotProfile
that describes the
requirements.freeSlotInfoTracker
- a list of the available slots together with their remaining
resources to select from.slotProfile
- a slot profile, describing requirements for the slot selection.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.