Class TaskResult

java.lang.Object
org.elasticsearch.tasks.TaskResult
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject

public final class TaskResult extends Object implements Writeable, ToXContentObject
Information about a running task or a task that stored its result. Running tasks just have a getTask() while tasks with stored result will have either a getError() or getResponse().