Class EmbeddedExecutorFactory
- java.lang.Object
-
- org.apache.flink.client.deployment.application.executors.EmbeddedExecutorFactory
-
- All Implemented Interfaces:
org.apache.flink.core.execution.PipelineExecutorFactory
@Internal public class EmbeddedExecutorFactory extends Object implements org.apache.flink.core.execution.PipelineExecutorFactory
AnPipelineExecutorFactoryfor theEmbeddedExecutor.
-
-
Constructor Summary
Constructors Constructor 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 anEmbeddedExecutorFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.core.execution.PipelineExecutorgetExecutor(org.apache.flink.configuration.Configuration configuration)StringgetName()booleanisCompatibleWith(org.apache.flink.configuration.Configuration configuration)
-
-
-
Constructor Detail
-
EmbeddedExecutorFactory
public EmbeddedExecutorFactory(Collection<org.apache.flink.api.common.JobID> submittedJobIds, org.apache.flink.runtime.dispatcher.DispatcherGateway dispatcherGateway, org.apache.flink.util.concurrent.ScheduledExecutor retryExecutor)
Creates anEmbeddedExecutorFactory.- Parameters:
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.
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.apache.flink.core.execution.PipelineExecutorFactory
-
isCompatibleWith
public boolean isCompatibleWith(org.apache.flink.configuration.Configuration configuration)
- Specified by:
isCompatibleWithin interfaceorg.apache.flink.core.execution.PipelineExecutorFactory
-
getExecutor
public org.apache.flink.core.execution.PipelineExecutor getExecutor(org.apache.flink.configuration.Configuration configuration)
- Specified by:
getExecutorin interfaceorg.apache.flink.core.execution.PipelineExecutorFactory
-
-