public enum StandaloneResourceManagerFactory extends Enum<StandaloneResourceManagerFactory> implements ResourceManagerFactory<ResourceID>
ResourceManagerFactory which creates a StandaloneResourceManager.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ResourceManager<ResourceID> |
createResourceManager(org.apache.flink.configuration.Configuration configuration,
ResourceID resourceId,
RpcService rpcService,
HighAvailabilityServices highAvailabilityServices,
HeartbeatServices heartbeatServices,
MetricRegistry metricRegistry,
FatalErrorHandler fatalErrorHandler,
ClusterInformation clusterInformation,
String webInterfaceUrl,
JobManagerMetricGroup jobManagerMetricGroup) |
static StandaloneResourceManagerFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandaloneResourceManagerFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandaloneResourceManagerFactory INSTANCE
public static StandaloneResourceManagerFactory[] values()
for (StandaloneResourceManagerFactory c : StandaloneResourceManagerFactory.values()) System.out.println(c);
public static StandaloneResourceManagerFactory 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 ResourceManager<ResourceID> createResourceManager(org.apache.flink.configuration.Configuration configuration, ResourceID resourceId, RpcService rpcService, HighAvailabilityServices highAvailabilityServices, HeartbeatServices heartbeatServices, MetricRegistry metricRegistry, FatalErrorHandler fatalErrorHandler, ClusterInformation clusterInformation, @Nullable String webInterfaceUrl, JobManagerMetricGroup jobManagerMetricGroup) throws Exception
createResourceManager in interface ResourceManagerFactory<ResourceID>ExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.