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