Interface RequestSlotMatchingStrategy

    • Method Detail

      • matchRequestsAndSlots

        Collection<RequestSlotMatchingStrategy.RequestSlotMatch> matchRequestsAndSlots​(Collection<? extends PhysicalSlot> slots,
                                                                                       Collection<org.apache.flink.runtime.jobmaster.slotpool.PendingRequest> pendingRequests,
                                                                                       Map<ResourceID,​LoadingWeight> taskExecutorsLoadingWeight)
        Match the given slots with the given collection of pending requests.
        Parameters:
        slots - slots to match
        pendingRequests - slot requests to match
        taskExecutorsLoadingWeight - current task executors loading weight information
        Returns:
        resulting matches of this operation