Class TaskInfo

java.lang.Object
org.elasticsearch.tasks.TaskInfo
All Implemented Interfaces:
Writeable, ToXContent, ToXContentFragment

public final class TaskInfo extends Object implements Writeable, ToXContentFragment
Information about a currently running task.

Tasks are used for communication with transport actions. As a result, they can contain callback references as well as mutable state. That makes it impractical to send tasks over transport channels and use in APIs. Instead, immutable and writeable TaskInfo objects are used to represent snapshot information about currently running tasks.