public class RemoteTaskRunnerFactory extends Object implements TaskRunnerFactory
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,
com.metamx.common.concurrent.ScheduledExecutorFactory factory) |
@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, com.metamx.common.concurrent.ScheduledExecutorFactory factory)
public TaskRunner build()
build
in interface TaskRunnerFactory
Copyright © 2011–2015. All rights reserved.