@Internal public class EmbeddedExecutorFactory extends Object implements org.apache.flink.core.execution.PipelineExecutorFactory
PipelineExecutorFactory for the EmbeddedExecutor.| Constructor and Description |
|---|
EmbeddedExecutorFactory(Collection<org.apache.flink.api.common.JobID> submittedJobIds,
org.apache.flink.runtime.dispatcher.DispatcherGateway dispatcherGateway,
org.apache.flink.util.concurrent.ScheduledExecutor retryExecutor)
Creates an
EmbeddedExecutorFactory. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.core.execution.PipelineExecutor |
getExecutor(org.apache.flink.configuration.Configuration configuration) |
String |
getName() |
boolean |
isCompatibleWith(org.apache.flink.configuration.Configuration configuration) |
public EmbeddedExecutorFactory(Collection<org.apache.flink.api.common.JobID> submittedJobIds, org.apache.flink.runtime.dispatcher.DispatcherGateway dispatcherGateway, org.apache.flink.util.concurrent.ScheduledExecutor retryExecutor)
EmbeddedExecutorFactory.submittedJobIds - a list that is going to be filled 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 String getName()
getName in interface org.apache.flink.core.execution.PipelineExecutorFactorypublic boolean isCompatibleWith(org.apache.flink.configuration.Configuration configuration)
isCompatibleWith in interface org.apache.flink.core.execution.PipelineExecutorFactorypublic org.apache.flink.core.execution.PipelineExecutor getExecutor(org.apache.flink.configuration.Configuration configuration)
getExecutor in interface org.apache.flink.core.execution.PipelineExecutorFactoryCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.