@Internal public class ApplicationDispatcherGatewayServiceFactory extends Object implements org.apache.flink.runtime.dispatcher.runner.AbstractDispatcherLeaderProcess.DispatcherGatewayServiceFactory
DispatcherGatewayServiceFactory used when executing a job in Application Mode, i.e. the user's main is executed on
the same machine as the Dispatcher and the lifecycle of the cluster is the same as the one of the application.
It instantiates a DispatcherGatewayService with an ApplicationDispatcherBootstrap containing the user's program.
| 构造器和说明 |
|---|
ApplicationDispatcherGatewayServiceFactory(org.apache.flink.configuration.Configuration configuration,
org.apache.flink.runtime.dispatcher.DispatcherFactory dispatcherFactory,
PackagedProgram application,
org.apache.flink.runtime.rpc.RpcService rpcService,
org.apache.flink.runtime.dispatcher.PartialDispatcherServices partialDispatcherServices) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.runtime.dispatcher.runner.AbstractDispatcherLeaderProcess.DispatcherGatewayService |
create(org.apache.flink.runtime.dispatcher.DispatcherId fencingToken,
Collection<org.apache.flink.runtime.jobgraph.JobGraph> recoveredJobs,
org.apache.flink.runtime.jobmanager.JobGraphWriter jobGraphWriter) |
public ApplicationDispatcherGatewayServiceFactory(org.apache.flink.configuration.Configuration configuration,
org.apache.flink.runtime.dispatcher.DispatcherFactory dispatcherFactory,
PackagedProgram application,
org.apache.flink.runtime.rpc.RpcService rpcService,
org.apache.flink.runtime.dispatcher.PartialDispatcherServices partialDispatcherServices)
public org.apache.flink.runtime.dispatcher.runner.AbstractDispatcherLeaderProcess.DispatcherGatewayService create(org.apache.flink.runtime.dispatcher.DispatcherId fencingToken,
Collection<org.apache.flink.runtime.jobgraph.JobGraph> recoveredJobs,
org.apache.flink.runtime.jobmanager.JobGraphWriter jobGraphWriter)
create 在接口中 org.apache.flink.runtime.dispatcher.runner.AbstractDispatcherLeaderProcess.DispatcherGatewayServiceFactoryCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.