@Internal
public class ApplicationDispatcherBootstrap
extends org.apache.flink.runtime.dispatcher.AbstractDispatcherBootstrap
DispatcherBootstrap used for running the user's main() in "Application Mode" (see FLIP-85).
This dispatcher bootstrap submits the recovered job graphs for re-execution
(in case of recovery from a failure), and then submits the remaining jobs of the application for execution.
To achieve this, it works in conjunction with the
EmbeddedExecutor which decides
if it should submit a job for execution (in case of a new job) or the job was already recovered and is running.
| 限定符和类型 | 字段和说明 |
|---|---|
static org.apache.flink.api.common.JobID |
ZERO_JOB_ID |
| 构造器和说明 |
|---|
ApplicationDispatcherBootstrap(PackagedProgram application,
Collection<org.apache.flink.runtime.jobgraph.JobGraph> recoveredJobs,
org.apache.flink.configuration.Configuration configuration) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
initialize(org.apache.flink.runtime.dispatcher.Dispatcher dispatcher,
org.apache.flink.runtime.concurrent.ScheduledExecutor scheduledExecutor) |
void |
stop() |
public ApplicationDispatcherBootstrap(PackagedProgram application, Collection<org.apache.flink.runtime.jobgraph.JobGraph> recoveredJobs, org.apache.flink.configuration.Configuration configuration)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.