Interface ExecutionSlotAllocator

    • Method Detail

      • allocateSlotsFor

        Map<ExecutionAttemptID,​org.apache.flink.runtime.scheduler.ExecutionSlotAssignment> allocateSlotsFor​(List<ExecutionAttemptID> executionAttemptIds)
        Allocate slots for the given executions.
        Parameters:
        executionAttemptIds - executions to allocate slots for
        Returns:
        Map of slot assignments to the executions
      • cancel

        void cancel​(ExecutionAttemptID executionAttemptId)
        Cancel the ongoing slot request of the given Execution.
        Parameters:
        executionAttemptId - identifying the Execution of which the slot request should be canceled.