@Internal
public interface ApplicationRunner
This interface assumes access to the cluster's DispatcherGateway,
and it does not go through the publicly exposed REST API.
| 限定符和类型 | 方法和说明 |
|---|---|
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–2020 The Apache Software Foundation. All rights reserved.