public class DefaultJobMasterServiceFactory extends Object implements JobMasterServiceFactory
| 构造器和说明 |
|---|
DefaultJobMasterServiceFactory(Executor executor,
org.apache.flink.runtime.rpc.RpcService rpcService,
JobMasterConfiguration jobMasterConfiguration,
JobGraph jobGraph,
HighAvailabilityServices haServices,
SlotPoolServiceSchedulerFactory slotPoolServiceSchedulerFactory,
JobManagerSharedServices jobManagerSharedServices,
HeartbeatServices heartbeatServices,
JobManagerJobMetricGroupFactory jobManagerJobMetricGroupFactory,
org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler,
ClassLoader userCodeClassloader,
long initializationTimestamp) |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<JobMasterService> |
createJobMasterService(UUID leaderSessionId,
OnCompletionActions onCompletionActions)
Creates a new
JobMasterService for the given leaderSessionId and onCompletionActions. |
public DefaultJobMasterServiceFactory(Executor executor, org.apache.flink.runtime.rpc.RpcService rpcService, JobMasterConfiguration jobMasterConfiguration, JobGraph jobGraph, HighAvailabilityServices haServices, SlotPoolServiceSchedulerFactory slotPoolServiceSchedulerFactory, JobManagerSharedServices jobManagerSharedServices, HeartbeatServices heartbeatServices, JobManagerJobMetricGroupFactory jobManagerJobMetricGroupFactory, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler, ClassLoader userCodeClassloader, long initializationTimestamp)
public CompletableFuture<JobMasterService> createJobMasterService(UUID leaderSessionId, OnCompletionActions onCompletionActions)
JobMasterServiceFactoryJobMasterService for the given leaderSessionId and onCompletionActions.createJobMasterService 在接口中 JobMasterServiceFactoryleaderSessionId - leaderSessionId for which to create a JobMasterServiceonCompletionActions - onCompletionActions which are given to the created JobMasterServiceJobMasterServiceCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.