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(org.apache.flink.configuration.Configuration configuration,
LeaderGatewayRetriever<DispatcherGateway> dispatcherGatewayRetriever,
LeaderGatewayRetriever<ResourceManagerGateway> resourceManagerGatewayRetriever,
TransientBlobService transientBlobService,
ScheduledExecutorService executor,
MetricFetcher metricFetcher,
LeaderElection leaderElection,
org.apache.flink.runtime.rpc.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, valueOfcreateExecutionGraphCachepublic 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(org.apache.flink.configuration.Configuration configuration, LeaderGatewayRetriever<DispatcherGateway> dispatcherGatewayRetriever, LeaderGatewayRetriever<ResourceManagerGateway> resourceManagerGatewayRetriever, TransientBlobService transientBlobService, ScheduledExecutorService executor, MetricFetcher metricFetcher, LeaderElection leaderElection, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler) throws Exception
createRestEndpoint in interface RestEndpointFactory<RestfulGateway>ExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.