Interface RequestSlotMatchingStrategy
-
- All Known Implementing Classes:
PreferredAllocationRequestSlotMatchingStrategy,SimpleRequestSlotMatchingStrategy
public interface RequestSlotMatchingStrategyStrategy to match slot requests to slots.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRequestSlotMatchingStrategy.RequestSlotMatchResult class representing matches.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<RequestSlotMatchingStrategy.RequestSlotMatch>matchRequestsAndSlots(Collection<? extends PhysicalSlot> slots, Collection<org.apache.flink.runtime.jobmaster.slotpool.PendingRequest> pendingRequests)Match the given slots with the given collection of pending requests.
-
-
-
Method Detail
-
matchRequestsAndSlots
Collection<RequestSlotMatchingStrategy.RequestSlotMatch> matchRequestsAndSlots(Collection<? extends PhysicalSlot> slots, Collection<org.apache.flink.runtime.jobmaster.slotpool.PendingRequest> pendingRequests)
Match the given slots with the given collection of pending requests.- Parameters:
slots- slots to matchpendingRequests- slot requests to match- Returns:
- resulting matches of this operation
-
-