Class DefaultClusterClientServiceLoader
java.lang.Object
org.apache.flink.client.deployment.DefaultClusterClientServiceLoader
- All Implemented Interfaces:
ClusterClientServiceLoader
@Internal
public class DefaultClusterClientServiceLoader
extends Object
implements ClusterClientServiceLoader
A service provider for
cluster client factories.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLoads and returns a stream of the names of all available execution target names forApplication Mode.<ClusterID>
ClusterClientFactory<ClusterID>getClusterClientFactory(org.apache.flink.configuration.Configuration configuration) Discovers the appropriateClusterClientFactorybased on the provided configuration.
-
Constructor Details
-
DefaultClusterClientServiceLoader
public DefaultClusterClientServiceLoader()
-
-
Method Details
-
getClusterClientFactory
public <ClusterID> ClusterClientFactory<ClusterID> getClusterClientFactory(org.apache.flink.configuration.Configuration configuration) Description copied from interface:ClusterClientServiceLoaderDiscovers the appropriateClusterClientFactorybased on the provided configuration.- Specified by:
getClusterClientFactoryin interfaceClusterClientServiceLoader- Parameters:
configuration- the configuration based on which the appropriate factory is going to be used.- Returns:
- the appropriate
ClusterClientFactory.
-
getApplicationModeTargetNames
Description copied from interface:ClusterClientServiceLoaderLoads and returns a stream of the names of all available execution target names forApplication Mode.- Specified by:
getApplicationModeTargetNamesin interfaceClusterClientServiceLoader
-