@Internal public class KubernetesSessionClusterExecutorFactory extends Object implements PipelineExecutorFactory
PipelineExecutorFactory
for executing jobs on an existing (session) cluster.Constructor and Description |
---|
KubernetesSessionClusterExecutorFactory() |
Modifier and Type | Method and Description |
---|---|
PipelineExecutor |
getExecutor(Configuration configuration)
Instantiates an
PipelineExecutor compatible with the provided configuration. |
String |
getName()
Returns the name of the executor that this factory creates.
|
boolean |
isCompatibleWith(Configuration configuration)
Returns
true if this factory is compatible with the options in the provided
configuration, false otherwise. |
public KubernetesSessionClusterExecutorFactory()
public String getName()
PipelineExecutorFactory
getName
in interface PipelineExecutorFactory
public boolean isCompatibleWith(@Nonnull Configuration configuration)
PipelineExecutorFactory
true
if this factory is compatible with the options in the provided
configuration, false
otherwise.isCompatibleWith
in interface PipelineExecutorFactory
public PipelineExecutor getExecutor(@Nonnull Configuration configuration)
PipelineExecutorFactory
PipelineExecutor
compatible with the provided configuration.getExecutor
in interface PipelineExecutorFactory
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.