public class JobDispatcherFactory extends Object implements DispatcherFactory<MiniDispatcher>
DispatcherFactory which creates a MiniDispatcher.| Constructor and Description |
|---|
JobDispatcherFactory(JobGraphRetriever jobGraphRetriever) |
| Modifier and Type | Method and Description |
|---|---|
MiniDispatcher |
createDispatcher(org.apache.flink.configuration.Configuration configuration,
RpcService rpcService,
HighAvailabilityServices highAvailabilityServices,
ResourceManagerGateway resourceManagerGateway,
BlobServer blobServer,
HeartbeatServices heartbeatServices,
JobManagerMetricGroup jobManagerMetricGroup,
String metricQueryServicePath,
ArchivedExecutionGraphStore archivedExecutionGraphStore,
FatalErrorHandler fatalErrorHandler,
String restAddress,
HistoryServerArchivist historyServerArchivist)
Create a
Dispatcher of the given type T. |
public JobDispatcherFactory(JobGraphRetriever jobGraphRetriever)
public MiniDispatcher createDispatcher(org.apache.flink.configuration.Configuration configuration, RpcService rpcService, HighAvailabilityServices highAvailabilityServices, ResourceManagerGateway resourceManagerGateway, BlobServer blobServer, HeartbeatServices heartbeatServices, JobManagerMetricGroup jobManagerMetricGroup, @Nullable String metricQueryServicePath, ArchivedExecutionGraphStore archivedExecutionGraphStore, FatalErrorHandler fatalErrorHandler, @Nullable String restAddress, HistoryServerArchivist historyServerArchivist) throws Exception
DispatcherFactoryDispatcher of the given type T.createDispatcher in interface DispatcherFactory<MiniDispatcher>ExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.