Class DefaultDispatcherResourceManagerComponentFactory
java.lang.Object
org.apache.flink.runtime.entrypoint.component.DefaultDispatcherResourceManagerComponentFactory
- All Implemented Interfaces:
DispatcherResourceManagerComponentFactory
public class DefaultDispatcherResourceManagerComponentFactory
extends Object
implements DispatcherResourceManagerComponentFactory
Abstract class which implements the creation of the
DispatcherResourceManagerComponent
components.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDispatcherResourceManagerComponentFactory(DispatcherRunnerFactory dispatcherRunnerFactory, ResourceManagerFactory<?> resourceManagerFactory, RestEndpointFactory<?> restEndpointFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreate(org.apache.flink.configuration.Configuration configuration, ResourceID resourceId, Executor ioExecutor, org.apache.flink.runtime.rpc.RpcService rpcService, HighAvailabilityServices highAvailabilityServices, BlobServer blobServer, HeartbeatServices heartbeatServices, DelegationTokenManager delegationTokenManager, MetricRegistry metricRegistry, ExecutionGraphInfoStore executionGraphInfoStore, MetricQueryServiceRetriever metricQueryServiceRetriever, Collection<org.apache.flink.core.failure.FailureEnricher> failureEnrichers, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler) createSessionComponentFactory(ResourceManagerFactory<?> resourceManagerFactory)
-
Constructor Details
-
DefaultDispatcherResourceManagerComponentFactory
public DefaultDispatcherResourceManagerComponentFactory(@Nonnull DispatcherRunnerFactory dispatcherRunnerFactory, @Nonnull ResourceManagerFactory<?> resourceManagerFactory, @Nonnull RestEndpointFactory<?> restEndpointFactory)
-
-
Method Details
-
create
public DispatcherResourceManagerComponent create(org.apache.flink.configuration.Configuration configuration, ResourceID resourceId, Executor ioExecutor, org.apache.flink.runtime.rpc.RpcService rpcService, HighAvailabilityServices highAvailabilityServices, BlobServer blobServer, HeartbeatServices heartbeatServices, DelegationTokenManager delegationTokenManager, MetricRegistry metricRegistry, ExecutionGraphInfoStore executionGraphInfoStore, MetricQueryServiceRetriever metricQueryServiceRetriever, Collection<org.apache.flink.core.failure.FailureEnricher> failureEnrichers, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler) throws Exception - Specified by:
createin interfaceDispatcherResourceManagerComponentFactory- Throws:
Exception
-
createSessionComponentFactory
public static DefaultDispatcherResourceManagerComponentFactory createSessionComponentFactory(ResourceManagerFactory<?> resourceManagerFactory)
-