Interface ApplicationRunner

  • All Known Implementing Classes:
    DetachedApplicationRunner

    @Internal
    public interface ApplicationRunner
    An interface to be implemented by the entities responsible for application submission for the different deployment environments.

    This interface assumes access to the cluster's DispatcherGateway, and it does not go through the publicly exposed REST API.

    • Method Detail

      • run

        List<JobID> run​(DispatcherGateway dispatcherGateway,
                        PackagedProgram program,
                        Configuration configuration)
        Runs the application using the provided dispatcherGateway.
        Parameters:
        dispatcherGateway - the dispatcher of the cluster to run the application.
        program - the PackagedProgram containing the user's main method.
        configuration - the configuration used to run the application.
        Returns:
        a list of the submitted jobs that belong to the provided application.