Package org.elasticsearch.action.search
Class SearchTask
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
X_OPAQUE_ID
-
Constructor Summary
ConstructorDescriptionSearchTask(long id, type, action, <> descriptionSupplier, TaskId parentTaskId, <,> headers)
-
Method Summary
Modifier and TypeMethodDescriptionGenerates task descriptionReturn theSearchProgressListener
attached to this task.void
setProgressListener(SearchProgressListener progressListener)
Attach aSearchProgressListener
to this task.Methods inherited from class org.elasticsearch.tasks.CancellableTask
getReasonCancelled, isCancelled, onCancelled, shouldCancelChildrenOnCancellation
Methods inherited from class org.elasticsearch.tasks.Task
getAction, getHeader, getId, getParentTaskId, getStartTime, getStartTimeNanos, getStatus, getType, headers, result, result, taskInfo, taskInfo
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
SearchTask
public SearchTask(long id, type, action, <> descriptionSupplier, TaskId parentTaskId, <,> headers)
-
-
Method Details
-
getDescription
public final getDescription()Description copied from class:Task
Generates task description- Overrides:
getDescription
in classTask
-
setProgressListener
Attach aSearchProgressListener
to this task. -
getProgressListener
Return theSearchProgressListener
attached to this task.
-