Package org.apache.flink.client.cli
Interface ApplicationDeployer
- All Known Implementing Classes:
ApplicationClusterDeployer
@Internal
public interface ApplicationDeployer
An interface to be used by the
CliFrontend to submit user programs for execution.-
Method Summary
Modifier and TypeMethodDescription<ClusterID>
ClusterIDrun(org.apache.flink.configuration.Configuration configuration, ApplicationConfiguration applicationConfiguration) Submits a user program for execution and runs the main user method on the cluster.
-
Method Details
-
run
<ClusterID> ClusterID run(org.apache.flink.configuration.Configuration configuration, ApplicationConfiguration applicationConfiguration) throws Exception Submits a user program for execution and runs the main user method on the cluster.- Parameters:
configuration- the configuration containing all the necessary information about submitting the user program.applicationConfiguration- anApplicationConfigurationspecific to the application to be executed.- Throws:
Exception
-