public enum JobMasterServiceLeadershipRunnerFactory extends Enum<JobMasterServiceLeadershipRunnerFactory> implements JobManagerRunnerFactory
JobMasterServiceLeadershipRunner
.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
JobManagerRunner |
createJobManagerRunner(JobGraph jobGraph,
Configuration configuration,
RpcService rpcService,
HighAvailabilityServices highAvailabilityServices,
HeartbeatServices heartbeatServices,
JobManagerSharedServices jobManagerServices,
JobManagerJobMetricGroupFactory jobManagerJobMetricGroupFactory,
FatalErrorHandler fatalErrorHandler,
Collection<FailureEnricher> failureEnrichers,
long initializationTimestamp) |
static JobMasterServiceLeadershipRunnerFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobMasterServiceLeadershipRunnerFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobMasterServiceLeadershipRunnerFactory INSTANCE
public static JobMasterServiceLeadershipRunnerFactory[] values()
for (JobMasterServiceLeadershipRunnerFactory c : JobMasterServiceLeadershipRunnerFactory.values()) System.out.println(c);
public static JobMasterServiceLeadershipRunnerFactory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic JobManagerRunner createJobManagerRunner(JobGraph jobGraph, Configuration configuration, RpcService rpcService, HighAvailabilityServices highAvailabilityServices, HeartbeatServices heartbeatServices, JobManagerSharedServices jobManagerServices, JobManagerJobMetricGroupFactory jobManagerJobMetricGroupFactory, FatalErrorHandler fatalErrorHandler, Collection<FailureEnricher> failureEnrichers, long initializationTimestamp) throws Exception
createJobManagerRunner
in interface JobManagerRunnerFactory
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.