Interface ClusterClientServiceLoader
- All Known Implementing Classes:
DefaultClusterClientServiceLoader
public interface ClusterClientServiceLoader
An interface used to discover the appropriate
cluster client factory
based on the provided Configuration.-
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.
-
Method Details
-
getClusterClientFactory
<ClusterID> ClusterClientFactory<ClusterID> getClusterClientFactory(org.apache.flink.configuration.Configuration configuration) Discovers the appropriateClusterClientFactorybased on the provided configuration.- Parameters:
configuration- the configuration based on which the appropriate factory is going to be used.- Returns:
- the appropriate
ClusterClientFactory.
-
getApplicationModeTargetNames
Loads and returns a stream of the names of all available execution target names forApplication Mode.
-