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 abstract
ClusterClientFactory containing some common implementations for different
containerized deployment clusters.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClusterSpecification(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, waitMethods inherited from interface org.apache.flink.client.deployment.ClusterClientFactory
createClusterDescriptor, getApplicationTargetName, getClusterId, isCompatibleWith
-
Constructor Details
-
AbstractContainerizedClusterClientFactory
public AbstractContainerizedClusterClientFactory()
-
-
Method Details
-
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
-