Class AbstractContainerizedClusterClientFactory<ClusterID>
- java.lang.Object
-
- org.apache.flink.client.deployment.AbstractContainerizedClusterClientFactory<ClusterID>
-
- All Implemented Interfaces:
ClusterClientFactory<ClusterID>
@Internal public abstract class AbstractContainerizedClusterClientFactory<ClusterID> extends Object implements ClusterClientFactory<ClusterID>
An abstractClusterClientFactorycontaining some common implementations for different containerized deployment clusters.
-
-
Constructor Summary
Constructors Constructor Description AbstractContainerizedClusterClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterSpecificationgetClusterSpecification(org.apache.flink.configuration.Configuration configuration)Returns theClusterSpecificationspecified by the configuration and the command line options.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.client.deployment.ClusterClientFactory
createClusterDescriptor, getApplicationTargetName, getClusterId, isCompatibleWith
-
-
-
-
Method Detail
-
getClusterSpecification
public ClusterSpecification getClusterSpecification(org.apache.flink.configuration.Configuration configuration)
Description copied from interface:ClusterClientFactoryReturns theClusterSpecificationspecified by the configuration and the command line options. This specification can be used to deploy a new Flink cluster.- Specified by:
getClusterSpecificationin interfaceClusterClientFactory<ClusterID>- Parameters:
configuration- containing the configuration options relevant for theClusterSpecification- Returns:
- the corresponding
ClusterSpecificationfor a new Flink cluster
-
-