public enum JobMasterServiceLeadershipRunnerFactory extends Enum<JobMasterServiceLeadershipRunnerFactory> implements JobManagerRunnerFactory
JobMasterServiceLeadershipRunner.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
JobManagerRunner |
createJobManagerRunner(JobGraph jobGraph,
org.apache.flink.configuration.Configuration configuration,
org.apache.flink.runtime.rpc.RpcService rpcService,
HighAvailabilityServices highAvailabilityServices,
HeartbeatServices heartbeatServices,
JobManagerSharedServices jobManagerServices,
JobManagerJobMetricGroupFactory jobManagerJobMetricGroupFactory,
org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler,
Collection<org.apache.flink.core.failure.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, org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.rpc.RpcService rpcService, HighAvailabilityServices highAvailabilityServices, HeartbeatServices heartbeatServices, JobManagerSharedServices jobManagerServices, JobManagerJobMetricGroupFactory jobManagerJobMetricGroupFactory, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler, Collection<org.apache.flink.core.failure.FailureEnricher> failureEnrichers, long initializationTimestamp) throws Exception
createJobManagerRunner in interface JobManagerRunnerFactoryExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.