public class RemoteTaskRunnerFactory extends Object implements TaskRunnerFactory<RemoteTaskRunner>
Constructor and Description |
---|
RemoteTaskRunnerFactory(org.apache.curator.framework.CuratorFramework curator,
RemoteTaskRunnerConfig remoteTaskRunnerConfig,
IndexerZkConfig zkPaths,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
com.metamx.http.client.HttpClient httpClient,
com.google.common.base.Supplier<WorkerBehaviorConfig> workerConfigRef,
ScheduledExecutorFactory factory,
ResourceManagementSchedulerConfig resourceManagementSchedulerConfig,
ResourceManagementStrategy resourceManagementStrategy) |
public static final String TYPE_NAME
@Inject public RemoteTaskRunnerFactory(org.apache.curator.framework.CuratorFramework curator, RemoteTaskRunnerConfig remoteTaskRunnerConfig, IndexerZkConfig zkPaths, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.metamx.http.client.HttpClient httpClient, com.google.common.base.Supplier<WorkerBehaviorConfig> workerConfigRef, ScheduledExecutorFactory factory, ResourceManagementSchedulerConfig resourceManagementSchedulerConfig, ResourceManagementStrategy resourceManagementStrategy)
public RemoteTaskRunner build()
build
in interface TaskRunnerFactory<RemoteTaskRunner>
Copyright © 2011–2017. All rights reserved.