@Internal public class WebSubmissionExecutorServiceLoader extends Object implements org.apache.flink.core.execution.PipelineExecutorServiceLoader
PipelineExecutorServiceLoader that always returns an WebSubmissionExecutorFactory.| Constructor and Description |
|---|
WebSubmissionExecutorServiceLoader(Collection<org.apache.flink.api.common.JobID> submittedJobIds,
org.apache.flink.runtime.dispatcher.DispatcherGateway dispatcherGateway)
Creates an
WebSubmissionExecutorServiceLoader. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.core.execution.PipelineExecutorFactory |
getExecutorFactory(org.apache.flink.configuration.Configuration configuration) |
java.util.stream.Stream<String> |
getExecutorNames() |
public WebSubmissionExecutorServiceLoader(Collection<org.apache.flink.api.common.JobID> submittedJobIds, org.apache.flink.runtime.dispatcher.DispatcherGateway dispatcherGateway)
WebSubmissionExecutorServiceLoader.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.public org.apache.flink.core.execution.PipelineExecutorFactory getExecutorFactory(org.apache.flink.configuration.Configuration configuration)
getExecutorFactory in interface org.apache.flink.core.execution.PipelineExecutorServiceLoaderpublic java.util.stream.Stream<String> getExecutorNames()
getExecutorNames in interface org.apache.flink.core.execution.PipelineExecutorServiceLoaderCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.