Package org.elasticsearch.action.search
Class SearchTask
java.lang.Object
org.elasticsearch.tasks.Task
org.elasticsearch.tasks.CancellableTask
org.elasticsearch.action.search.SearchTask
Task storing information about a currently running
SearchRequest.-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.tasks.Task
Task.Status -
Field Summary
Fields inherited from class org.elasticsearch.tasks.Task
TRACE_ID, TRACE_PARENT, X_OPAQUE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerates task descriptionReturn theSearchProgressListenerattached to this task.voidsetProgressListener(SearchProgressListener progressListener)Attach aSearchProgressListenerto this task.Methods inherited from class org.elasticsearch.tasks.CancellableTask
ensureNotCancelled, getReasonCancelled, isCancelled, notifyIfCancelled, onCancelled, shouldCancelChildrenOnCancellationMethods inherited from class org.elasticsearch.tasks.Task
getAction, getHeader, getId, getParentTaskId, getStartTime, getStartTimeNanos, getStatus, getType, headers, result, result, taskInfo, taskInfo
-
Constructor Details
-
SearchTask
-
-
Method Details
-
getDescription
Description copied from class:TaskGenerates task description- Overrides:
getDescriptionin classTask
-
setProgressListener
Attach aSearchProgressListenerto this task. -
getProgressListener
Return theSearchProgressListenerattached to this task.
-