Package | Description |
---|---|
io.druid.indexing.overlord | |
io.druid.indexing.worker | |
io.druid.indexing.worker.http |
Modifier and Type | Method and Description |
---|---|
Worker |
ZkWorker.getWorker() |
Worker |
RemoteTaskRunnerWorkItem.getWorker() |
Worker |
ImmutableWorkerInfo.getWorker() |
Modifier and Type | Method and Description |
---|---|
Collection<Worker> |
WorkerTaskRunner.getLazyWorkers()
Return a list of workers who can be reaped by autoscaling
|
Collection<Worker> |
RemoteTaskRunner.getLazyWorkers() |
static Collection<Worker> |
RemoteTaskRunner.getWorkerFromZK(Collection<ZkWorker> workers) |
Collection<Worker> |
WorkerTaskRunner.markWorkersLazy(com.google.common.base.Predicate<ImmutableWorkerInfo> isLazyWorker,
int maxWorkers)
Check which workers can be marked as lazy
|
Collection<Worker> |
RemoteTaskRunner.markWorkersLazy(com.google.common.base.Predicate<ImmutableWorkerInfo> isLazyWorker,
int maxWorkers) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
RemoteTaskRunner.getAssignedTasks(Worker worker) |
boolean |
RemoteTaskRunner.isWorkerRunningTask(Worker worker,
String taskId) |
void |
ZkWorker.setWorker(Worker newWorker) |
RemoteTaskRunnerWorkItem |
RemoteTaskRunnerWorkItem.withWorker(Worker theWorker,
TaskLocation location) |
Constructor and Description |
---|
ImmutableWorkerInfo(Worker worker,
int currCapacityUsed,
Set<String> availabilityGroups,
Collection<String> runningTasks,
org.joda.time.DateTime lastCompletedTaskTime) |
RemoteTaskRunnerWorkItem(String taskId,
org.joda.time.DateTime createdTime,
org.joda.time.DateTime queueInsertionTime,
Worker worker,
TaskLocation location) |
RemoteTaskRunnerWorkItem(String taskId,
Worker worker,
TaskLocation location) |
ZkWorker(Worker worker,
org.apache.curator.framework.recipes.cache.PathChildrenCache statusCache,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
Modifier and Type | Method and Description |
---|---|
Worker |
WorkerCuratorCoordinator.getWorker() |
Modifier and Type | Method and Description |
---|---|
void |
WorkerCuratorCoordinator.updateWorkerAnnouncement(Worker newWorker) |
Constructor and Description |
---|
WorkerCuratorCoordinator(com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
IndexerZkConfig indexerZkConfig,
RemoteTaskRunnerConfig config,
org.apache.curator.framework.CuratorFramework curatorFramework,
Worker worker) |
Constructor and Description |
---|
WorkerResource(Worker worker,
WorkerCuratorCoordinator curatorCoordinator,
TaskRunner taskRunner) |
Copyright © 2011–2017. All rights reserved.