Package org.apache.flink.core.execution
Interface PipelineExecutorFactory
-
- All Known Implementing Classes:
EmbeddedExecutorFactory
,KubernetesSessionClusterExecutorFactory
,LocalExecutorFactory
,RemoteExecutorFactory
,WebSubmissionExecutorFactory
,YarnJobClusterExecutorFactory
,YarnSessionClusterExecutorFactory
@Internal public interface PipelineExecutorFactory
A factory for selecting and instantiating the adequatePipelineExecutor
based on a providedConfiguration
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PipelineExecutor
getExecutor(Configuration configuration)
Instantiates anPipelineExecutor
compatible with the provided configuration.String
getName()
Returns the name of the executor that this factory creates.boolean
isCompatibleWith(Configuration configuration)
Returnstrue
if this factory is compatible with the options in the provided configuration,false
otherwise.
-
-
-
Method Detail
-
getName
String getName()
Returns the name of the executor that this factory creates.
-
isCompatibleWith
boolean isCompatibleWith(Configuration configuration)
Returnstrue
if this factory is compatible with the options in the provided configuration,false
otherwise.
-
getExecutor
PipelineExecutor getExecutor(Configuration configuration)
Instantiates anPipelineExecutor
compatible with the provided configuration.- Returns:
- the executor instance.
-
-