Class DefaultJobMasterServiceFactory
java.lang.Object
org.apache.flink.runtime.jobmaster.factories.DefaultJobMasterServiceFactory
- All Implemented Interfaces:
JobMasterServiceFactory
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultJobMasterServiceFactory(Executor executor, org.apache.flink.runtime.rpc.RpcService rpcService, JobMasterConfiguration jobMasterConfiguration, ExecutionPlan executionPlan, HighAvailabilityServices haServices, SlotPoolServiceSchedulerFactory slotPoolServiceSchedulerFactory, JobManagerSharedServices jobManagerSharedServices, HeartbeatServices heartbeatServices, JobManagerJobMetricGroupFactory jobManagerJobMetricGroupFactory, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler, ClassLoader userCodeClassloader, Collection<org.apache.flink.core.failure.FailureEnricher> failureEnrichers, long initializationTimestamp) -
Method Summary
Modifier and TypeMethodDescriptioncreateJobMasterService(UUID leaderSessionId, OnCompletionActions onCompletionActions) Creates a newJobMasterServicefor the given leaderSessionId and onCompletionActions.
-
Constructor Details
-
Method Details
-
createJobMasterService
public CompletableFuture<JobMasterService> createJobMasterService(UUID leaderSessionId, OnCompletionActions onCompletionActions) Description copied from interface:JobMasterServiceFactoryCreates a newJobMasterServicefor the given leaderSessionId and onCompletionActions.- Specified by:
createJobMasterServicein interfaceJobMasterServiceFactory- Parameters:
leaderSessionId- leaderSessionId for which to create aJobMasterServiceonCompletionActions- onCompletionActions which are given to the createdJobMasterService- Returns:
- Future which contains the newly created
JobMasterService
-