@Internal public interface ApplicationRunner
This interface assumes access to the cluster's DispatcherGateway
, and it does not go
through the publicly exposed REST API.
Modifier and Type | Method and Description |
---|---|
List<JobID> |
run(DispatcherGateway dispatcherGateway,
PackagedProgram program,
Configuration configuration)
Runs the application using the provided
dispatcherGateway . |
List<JobID> run(DispatcherGateway dispatcherGateway, PackagedProgram program, Configuration configuration)
dispatcherGateway
.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.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.