@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<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 provided
dispatcherGateway. |
List<org.apache.flink.api.common.JobID> run(org.apache.flink.runtime.dispatcher.DispatcherGateway dispatcherGateway, PackagedProgram program, org.apache.flink.configuration.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–2022 The Apache Software Foundation. All rights reserved.