Package org.apache.flink.client.cli
Interface ApplicationDeployer
-
- All Known Implementing Classes:
ApplicationClusterDeployer
@Internal public interface ApplicationDeployer
An interface to be used by theCliFrontend
to submit user programs for execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <ClusterID>
voidrun(Configuration configuration, ApplicationConfiguration applicationConfiguration)
Submits a user program for execution and runs the main user method on the cluster.
-
-
-
Method Detail
-
run
<ClusterID> void run(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
- anApplicationConfiguration
specific to the application to be executed.- Throws:
Exception
-
-