Package org.apache.flink.runtime.rest
Interface RestEndpointFactory<T extends RestfulGateway>
- Type Parameters:
T- type of theRestfulGateway
- All Known Implementing Classes:
JobRestEndpointFactory,SessionRestEndpointFactory
public interface RestEndpointFactory<T extends RestfulGateway>
WebMonitorEndpoint factory.-
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionGraphCachecreateExecutionGraphCache(RestHandlerConfiguration restConfiguration) 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)
-
Method Details
-
createRestEndpoint
WebMonitorEndpoint<T> 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 - Throws:
Exception
-
createExecutionGraphCache
-