Class DefaultDispatcherRunnerFactory
- java.lang.Object
-
- org.apache.flink.runtime.dispatcher.runner.DefaultDispatcherRunnerFactory
-
- All Implemented Interfaces:
DispatcherRunnerFactory
public class DefaultDispatcherRunnerFactory extends Object implements DispatcherRunnerFactory
DispatcherRunnerFactory
implementation which createsDefaultDispatcherRunner
instances.
-
-
Constructor Summary
Constructors Constructor Description DefaultDispatcherRunnerFactory(DispatcherLeaderProcessFactoryFactory dispatcherLeaderProcessFactoryFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DispatcherRunner
createDispatcherRunner(LeaderElection leaderElection, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler, JobPersistenceComponentFactory jobPersistenceComponentFactory, Executor ioExecutor, org.apache.flink.runtime.rpc.RpcService rpcService, PartialDispatcherServices partialDispatcherServices)
static DefaultDispatcherRunnerFactory
createSessionRunner(DispatcherFactory dispatcherFactory)
-
-
-
Constructor Detail
-
DefaultDispatcherRunnerFactory
public DefaultDispatcherRunnerFactory(DispatcherLeaderProcessFactoryFactory dispatcherLeaderProcessFactoryFactory)
-
-
Method Detail
-
createDispatcherRunner
public DispatcherRunner createDispatcherRunner(LeaderElection leaderElection, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler, JobPersistenceComponentFactory jobPersistenceComponentFactory, Executor ioExecutor, org.apache.flink.runtime.rpc.RpcService rpcService, PartialDispatcherServices partialDispatcherServices) throws Exception
- Specified by:
createDispatcherRunner
in interfaceDispatcherRunnerFactory
- Throws:
Exception
-
createSessionRunner
public static DefaultDispatcherRunnerFactory createSessionRunner(DispatcherFactory dispatcherFactory)
-
-