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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<JobID>
run(DispatcherGateway dispatcherGateway, PackagedProgram program, Configuration configuration)
Runs the application using the provideddispatcherGateway
.
-
-
-
Method Detail
-
run
List<JobID> run(DispatcherGateway dispatcherGateway, PackagedProgram program, Configuration configuration)
Runs the application using the provideddispatcherGateway
.- Parameters:
dispatcherGateway
- the dispatcher of the cluster to run the application.program
- thePackagedProgram
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.
-
-