public enum JobRestEndpointFactory extends Enum<JobRestEndpointFactory> implements RestEndpointFactory<RestfulGateway>
RestEndpointFactory
which creates a MiniDispatcherRestEndpoint
.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
WebMonitorEndpoint<RestfulGateway> |
createRestEndpoint(Configuration configuration,
LeaderGatewayRetriever<DispatcherGateway> dispatcherGatewayRetriever,
LeaderGatewayRetriever<ResourceManagerGateway> resourceManagerGatewayRetriever,
TransientBlobService transientBlobService,
ScheduledExecutorService executor,
MetricFetcher metricFetcher,
LeaderElectionService leaderElectionService,
FatalErrorHandler fatalErrorHandler) |
static JobRestEndpointFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobRestEndpointFactory[] |
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
createExecutionGraphCache
public static final JobRestEndpointFactory INSTANCE
public static JobRestEndpointFactory[] values()
for (JobRestEndpointFactory c : JobRestEndpointFactory.values()) System.out.println(c);
public static JobRestEndpointFactory 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 WebMonitorEndpoint<RestfulGateway> createRestEndpoint(Configuration configuration, LeaderGatewayRetriever<DispatcherGateway> dispatcherGatewayRetriever, LeaderGatewayRetriever<ResourceManagerGateway> resourceManagerGatewayRetriever, TransientBlobService transientBlobService, ScheduledExecutorService executor, MetricFetcher metricFetcher, LeaderElectionService leaderElectionService, FatalErrorHandler fatalErrorHandler) throws Exception
createRestEndpoint
in interface RestEndpointFactory<RestfulGateway>
Exception
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.