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(Configuration configuration,
ResourceID resourceId,
RpcService rpcService,
HighAvailabilityServices highAvailabilityServices,
HeartbeatServices heartbeatServices,
FatalErrorHandler fatalErrorHandler,
ClusterInformation clusterInformation,
String webInterfaceUrl,
ResourceManagerMetricGroup resourceManagerMetricGroup) |
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
generateEndpointIdWithUUID, getEndpointId
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(Configuration configuration, ResourceID resourceId, RpcService rpcService, HighAvailabilityServices highAvailabilityServices, HeartbeatServices heartbeatServices, FatalErrorHandler fatalErrorHandler, ClusterInformation clusterInformation, @Nullable String webInterfaceUrl, ResourceManagerMetricGroup resourceManagerMetricGroup) throws Exception
createResourceManager
in interface ResourceManagerFactory<ResourceID>
Exception
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.