java.lang.Object
org.elasticsearch.tasks.Task
org.elasticsearch.tasks.CancellableTask
org.elasticsearch.action.downsample.DownsampleTask
- All Implemented Interfaces:
Traceable
This class contains the high-level logic that drives the rollup job. The allocated task contains transient state
which drives the indexing, and periodically updates it's parent PersistentTask with the indexing's current position.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.tasks.CancellableTask
CancellableTask.CancellationListener
Nested classes/interfaces inherited from class org.elasticsearch.tasks.Task
Task.Status
-
Field Summary
Fields inherited from class org.elasticsearch.tasks.Task
APM_TRACE_CONTEXT, HEADERS_TO_COPY, TRACE_ID, TRACE_PARENT, TRACE_PARENT_HTTP_HEADER, TRACE_START_TIME, TRACE_STATE, X_ELASTIC_PRODUCT_ORIGIN_HTTP_HEADER, X_OPAQUE_ID_HTTP_HEADER
-
Constructor Summary
ConstructorsConstructorDescriptionDownsampleTask
(long id, String type, String action, TaskId parentTask, String downsampleIndex, DownsampleConfig config, Map<String, String> headers) -
Method Summary
Methods inherited from class org.elasticsearch.tasks.CancellableTask
addListener, ensureNotCancelled, getReasonCancelled, isCancelled, notifyIfCancelled, onCancelled, shouldCancelChildrenOnCancellation, toString
Methods inherited from class org.elasticsearch.tasks.Task
getAction, getDescription, getHeader, getId, getParentTaskId, getSpanId, getStartTime, getStartTimeNanos, getStatus, getType, headers, result, result, taskInfo, taskInfo
-
Constructor Details
-
DownsampleTask
-
-
Method Details
-
getDownsampleIndex
-
config
-