Class WebSubmissionExecutorServiceLoader

  • All Implemented Interfaces:
    org.apache.flink.core.execution.PipelineExecutorServiceLoader

    @Internal
    public class WebSubmissionExecutorServiceLoader
    extends Object
    implements org.apache.flink.core.execution.PipelineExecutorServiceLoader
    A PipelineExecutorServiceLoader that always returns an WebSubmissionExecutorFactory.
    • Constructor Detail

      • WebSubmissionExecutorServiceLoader

        public WebSubmissionExecutorServiceLoader​(Collection<org.apache.flink.api.common.JobID> submittedJobIds,
                                                  org.apache.flink.runtime.dispatcher.DispatcherGateway dispatcherGateway)
        Parameters:
        submittedJobIds - a list that is going to be filled by the EmbeddedExecutor with the job ids of the new jobs that will be submitted. This is essentially used to return the submitted job ids to the caller.
        dispatcherGateway - the dispatcher of the cluster which is going to be used to submit jobs.
    • Method Detail

      • getExecutorFactory

        public org.apache.flink.core.execution.PipelineExecutorFactory getExecutorFactory​(org.apache.flink.configuration.Configuration configuration)
        Specified by:
        getExecutorFactory in interface org.apache.flink.core.execution.PipelineExecutorServiceLoader
      • getExecutorNames

        public java.util.stream.Stream<String> getExecutorNames()
        Specified by:
        getExecutorNames in interface org.apache.flink.core.execution.PipelineExecutorServiceLoader