public interface IndexingServiceClient
OverlordClient.| Modifier and Type | Method and Description |
|---|---|
String |
cancelTask(String taskId) |
String |
compactSegments(String idPrefix,
List<DataSegment> segments,
int compactionTaskPriority,
ClientCompactionTaskQueryTuningConfig tuningConfig,
ClientCompactionTaskGranularitySpec granularitySpec,
ClientCompactionTaskDimensionsSpec dimensionsSpec,
AggregatorFactory[] metricsSpec,
ClientCompactionTaskTransformSpec transformSpec,
Boolean dropExisting,
Map<String,Object> context) |
List<TaskStatusPlus> |
getActiveTasks()
Gets all tasks that are waiting, pending, or running.
|
TaskStatusPlus |
getLastCompleteTask() |
Map<String,List<org.joda.time.Interval>> |
getLockedIntervals(Map<String,Integer> minTaskPriority)
Gets a List of Intervals locked by higher priority tasks for each datasource.
|
TaskPayloadResponse |
getTaskPayload(String taskId) |
Map<String,Object> |
getTaskReport(String taskId) |
TaskStatusResponse |
getTaskStatus(String taskId) |
int |
getTotalWorkerCapacity()
Gets the total worker capacity of the current state of the cluster.
|
int |
getTotalWorkerCapacityWithAutoScale()
Gets the total worker capacity of the cluster including auto scaling capability (scaling to max workers).
|
int |
killPendingSegments(String dataSource,
org.joda.time.DateTime end) |
void |
killUnusedSegments(String idPrefix,
String dataSource,
org.joda.time.Interval interval) |
String |
runTask(String taskId,
Object taskObject) |
SamplerResponse |
sample(SamplerSpec samplerSpec) |
void killUnusedSegments(String idPrefix, String dataSource, org.joda.time.Interval interval)
int killPendingSegments(String dataSource, org.joda.time.DateTime end)
String compactSegments(String idPrefix, List<DataSegment> segments, int compactionTaskPriority, @Nullable ClientCompactionTaskQueryTuningConfig tuningConfig, @Nullable ClientCompactionTaskGranularitySpec granularitySpec, @Nullable ClientCompactionTaskDimensionsSpec dimensionsSpec, @Nullable AggregatorFactory[] metricsSpec, @Nullable ClientCompactionTaskTransformSpec transformSpec, @Nullable Boolean dropExisting, @Nullable Map<String,Object> context)
int getTotalWorkerCapacity()
int getTotalWorkerCapacityWithAutoScale()
List<TaskStatusPlus> getActiveTasks()
TaskStatusResponse getTaskStatus(String taskId)
@Nullable TaskStatusPlus getLastCompleteTask()
@Nullable TaskPayloadResponse getTaskPayload(String taskId)
Map<String,List<org.joda.time.Interval>> getLockedIntervals(Map<String,Integer> minTaskPriority)
minTaskPriority - Minimum task priority for each datasource. Only the
Intervals that are locked by Tasks higher than this
priority are returned. Tasks for datasources that
are not present in this Map are not returned.minTaskPriority for that datasource.SamplerResponse sample(SamplerSpec samplerSpec)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.