Class AbstractSessionClusterExecutor<ClusterID,ClientFactory extends ClusterClientFactory<ClusterID>>
- java.lang.Object
-
- org.apache.flink.client.deployment.executors.AbstractSessionClusterExecutor<ClusterID,ClientFactory>
-
- Type Parameters:
ClusterID- the type of the id of the cluster.ClientFactory- the type of theClusterClientFactoryused to create/retrieve a client to the target cluster.
- All Implemented Interfaces:
org.apache.flink.core.execution.CacheSupportedPipelineExecutor,org.apache.flink.core.execution.PipelineExecutor
- Direct Known Subclasses:
RemoteExecutor
@Internal public class AbstractSessionClusterExecutor<ClusterID,ClientFactory extends ClusterClientFactory<ClusterID>> extends Object implements org.apache.flink.core.execution.CacheSupportedPipelineExecutor
An abstractPipelineExecutorused to executepipelineson an existing (session) cluster.
-
-
Constructor Summary
Constructors Constructor Description AbstractSessionClusterExecutor(ClientFactory clusterClientFactory, org.apache.flink.configuration.Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<org.apache.flink.core.execution.JobClient>execute(org.apache.flink.api.dag.Pipeline pipeline, org.apache.flink.configuration.Configuration configuration, ClassLoader userCodeClassloader)CompletableFuture<Void>invalidateClusterDataset(org.apache.flink.util.AbstractID clusterDatasetId, org.apache.flink.configuration.Configuration configuration, ClassLoader userCodeClassloader)CompletableFuture<Set<org.apache.flink.util.AbstractID>>listCompletedClusterDatasetIds(org.apache.flink.configuration.Configuration configuration, ClassLoader userCodeClassloader)
-
-
-
Constructor Detail
-
AbstractSessionClusterExecutor
public AbstractSessionClusterExecutor(@Nonnull ClientFactory clusterClientFactory, org.apache.flink.configuration.Configuration configuration)
-
-
Method Detail
-
execute
public CompletableFuture<org.apache.flink.core.execution.JobClient> execute(@Nonnull org.apache.flink.api.dag.Pipeline pipeline, @Nonnull org.apache.flink.configuration.Configuration configuration, @Nonnull ClassLoader userCodeClassloader) throws Exception
- Specified by:
executein interfaceorg.apache.flink.core.execution.PipelineExecutor- Throws:
Exception
-
listCompletedClusterDatasetIds
public CompletableFuture<Set<org.apache.flink.util.AbstractID>> listCompletedClusterDatasetIds(org.apache.flink.configuration.Configuration configuration, ClassLoader userCodeClassloader) throws Exception
- Specified by:
listCompletedClusterDatasetIdsin interfaceorg.apache.flink.core.execution.CacheSupportedPipelineExecutor- Throws:
Exception
-
invalidateClusterDataset
public CompletableFuture<Void> invalidateClusterDataset(org.apache.flink.util.AbstractID clusterDatasetId, org.apache.flink.configuration.Configuration configuration, ClassLoader userCodeClassloader) throws Exception
- Specified by:
invalidateClusterDatasetin interfaceorg.apache.flink.core.execution.CacheSupportedPipelineExecutor- Throws:
Exception
-
-