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 Summary
Modifier and TypeMethodDescriptionList<org.apache.flink.api.common.JobID>run(org.apache.flink.runtime.dispatcher.DispatcherGateway dispatcherGateway, PackagedProgram program, org.apache.flink.configuration.Configuration configuration) Runs the application using the provideddispatcherGateway.
-
Method Details
-
run
List<org.apache.flink.api.common.JobID> run(org.apache.flink.runtime.dispatcher.DispatcherGateway dispatcherGateway, PackagedProgram program, org.apache.flink.configuration.Configuration configuration) Runs the application using the provideddispatcherGateway.- Parameters:
dispatcherGateway- the dispatcher of the cluster to run the application.program- thePackagedProgramcontaining 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.
-