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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <ClusterID>
      ClusterID
      run​(org.apache.flink.configuration.Configuration configuration, ApplicationConfiguration applicationConfiguration)
      Submits a user program for execution and runs the main user method on the cluster.
    • Method Detail

      • 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 - an ApplicationConfiguration specific to the application to be executed.
        Throws:
        Exception