org.apache.flink.runtime.resourcemanager.ResourceManagerFactory Java Examples

The following examples show how to use org.apache.flink.runtime.resourcemanager.ResourceManagerFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractDispatcherResourceManagerComponentFactory.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
public AbstractDispatcherResourceManagerComponentFactory(
		@Nonnull DispatcherFactory<T> dispatcherFactory,
		@Nonnull ResourceManagerFactory<?> resourceManagerFactory,
		@Nonnull RestEndpointFactory<U> restEndpointFactory) {
	this.dispatcherFactory = dispatcherFactory;
	this.resourceManagerFactory = resourceManagerFactory;
	this.restEndpointFactory = restEndpointFactory;
}
 
Example #2
Source File: AbstractDispatcherResourceManagerComponentFactory.java    From flink with Apache License 2.0 5 votes vote down vote up
public AbstractDispatcherResourceManagerComponentFactory(
		@Nonnull DispatcherFactory<T> dispatcherFactory,
		@Nonnull ResourceManagerFactory<?> resourceManagerFactory,
		@Nonnull RestEndpointFactory<U> restEndpointFactory) {
	this.dispatcherFactory = dispatcherFactory;
	this.resourceManagerFactory = resourceManagerFactory;
	this.restEndpointFactory = restEndpointFactory;
}
 
Example #3
Source File: DefaultDispatcherResourceManagerComponentFactory.java    From flink with Apache License 2.0 5 votes vote down vote up
public DefaultDispatcherResourceManagerComponentFactory(
		@Nonnull DispatcherRunnerFactory dispatcherRunnerFactory,
		@Nonnull ResourceManagerFactory<?> resourceManagerFactory,
		@Nonnull RestEndpointFactory<?> restEndpointFactory) {
	this.dispatcherRunnerFactory = dispatcherRunnerFactory;
	this.resourceManagerFactory = resourceManagerFactory;
	this.restEndpointFactory = restEndpointFactory;
}
 
Example #4
Source File: DefaultDispatcherResourceManagerComponentFactory.java    From flink with Apache License 2.0 5 votes vote down vote up
public static DefaultDispatcherResourceManagerComponentFactory createSessionComponentFactory(
		ResourceManagerFactory<?> resourceManagerFactory) {
	return new DefaultDispatcherResourceManagerComponentFactory(
		DefaultDispatcherRunnerFactory.createSessionRunner(SessionDispatcherFactory.INSTANCE),
		resourceManagerFactory,
		SessionRestEndpointFactory.INSTANCE);
}
 
Example #5
Source File: DefaultDispatcherResourceManagerComponentFactory.java    From flink with Apache License 2.0 5 votes vote down vote up
public static DefaultDispatcherResourceManagerComponentFactory createJobComponentFactory(
		ResourceManagerFactory<?> resourceManagerFactory,
		JobGraphRetriever jobGraphRetriever) {
	return new DefaultDispatcherResourceManagerComponentFactory(
		DefaultDispatcherRunnerFactory.createJobRunner(jobGraphRetriever),
		resourceManagerFactory,
		JobRestEndpointFactory.INSTANCE);
}
 
Example #6
Source File: ApplicationClusterEntryPoint.java    From flink with Apache License 2.0 5 votes vote down vote up
protected ApplicationClusterEntryPoint(
		final Configuration configuration,
		final PackagedProgram program,
		final ResourceManagerFactory<?> resourceManagerFactory) {
	super(configuration);
	this.program = checkNotNull(program);
	this.resourceManagerFactory = checkNotNull(resourceManagerFactory);
}
 
Example #7
Source File: SessionDispatcherResourceManagerComponentFactory.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
public SessionDispatcherResourceManagerComponentFactory(@Nonnull ResourceManagerFactory<?> resourceManagerFactory) {
	this(SessionDispatcherFactory.INSTANCE, resourceManagerFactory);
}
 
Example #8
Source File: SessionDispatcherResourceManagerComponentFactory.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@VisibleForTesting
public SessionDispatcherResourceManagerComponentFactory(
		@Nonnull DispatcherFactory<Dispatcher> dispatcherFactory,
		@Nonnull ResourceManagerFactory<?> resourceManagerFactory) {
	super(dispatcherFactory, resourceManagerFactory, SessionRestEndpointFactory.INSTANCE);
}
 
Example #9
Source File: JobDispatcherResourceManagerComponentFactory.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
public JobDispatcherResourceManagerComponentFactory(@Nonnull ResourceManagerFactory<?> resourceManagerFactory, @Nonnull JobGraphRetriever jobGraphRetriever) {
	super(new JobDispatcherFactory(jobGraphRetriever), resourceManagerFactory, JobRestEndpointFactory.INSTANCE);
}
 
Example #10
Source File: SessionDispatcherResourceManagerComponentFactory.java    From flink with Apache License 2.0 4 votes vote down vote up
public SessionDispatcherResourceManagerComponentFactory(@Nonnull ResourceManagerFactory<?> resourceManagerFactory) {
	this(SessionDispatcherFactory.INSTANCE, resourceManagerFactory);
}
 
Example #11
Source File: SessionDispatcherResourceManagerComponentFactory.java    From flink with Apache License 2.0 4 votes vote down vote up
@VisibleForTesting
public SessionDispatcherResourceManagerComponentFactory(
		@Nonnull DispatcherFactory<Dispatcher> dispatcherFactory,
		@Nonnull ResourceManagerFactory<?> resourceManagerFactory) {
	super(dispatcherFactory, resourceManagerFactory, SessionRestEndpointFactory.INSTANCE);
}
 
Example #12
Source File: JobDispatcherResourceManagerComponentFactory.java    From flink with Apache License 2.0 4 votes vote down vote up
public JobDispatcherResourceManagerComponentFactory(@Nonnull ResourceManagerFactory<?> resourceManagerFactory, @Nonnull JobGraphRetriever jobGraphRetriever) {
	super(new JobDispatcherFactory(jobGraphRetriever), resourceManagerFactory, JobRestEndpointFactory.INSTANCE);
}