Interface DispatcherFactory
- All Known Implementing Classes:
SessionDispatcherFactory
public interface DispatcherFactory
Dispatcher factory interface.-
Method Summary
Modifier and TypeMethodDescriptioncreateDispatcher(org.apache.flink.runtime.rpc.RpcService rpcService, DispatcherId fencingToken, Collection<ExecutionPlan> recoveredJobs, Collection<JobResult> recoveredDirtyJobResults, DispatcherBootstrapFactory dispatcherBootstrapFactory, PartialDispatcherServicesWithJobPersistenceComponents partialDispatcherServicesWithJobPersistenceComponents) Create aDispatcher.
-
Method Details
-
createDispatcher
Dispatcher createDispatcher(org.apache.flink.runtime.rpc.RpcService rpcService, DispatcherId fencingToken, Collection<ExecutionPlan> recoveredJobs, Collection<JobResult> recoveredDirtyJobResults, DispatcherBootstrapFactory dispatcherBootstrapFactory, PartialDispatcherServicesWithJobPersistenceComponents partialDispatcherServicesWithJobPersistenceComponents) throws Exception Create aDispatcher.- Throws:
Exception
-