Package org.elasticsearch.tasks
Interface Task.Status
- All Superinterfaces:
NamedWriteable
,ToXContent
,ToXContentObject
,Writeable
- All Known Implementing Classes:
BulkByScrollTask.Status
,PersistentTasksNodeService.Status
,PrimaryReplicaSyncer.ResyncTask.Status
,RawTaskStatus
,ReplicationTask.Status
- Enclosing class:
- Task
Report of the internal status of a task. These can vary wildly from task
to task because each task is implemented differently but we should try
to keep each task consistent from version to version where possible.
That means each implementation of ToXContent.toXContent(org.elasticsearch.xcontent.XContentBuilder, org.elasticsearch.xcontent.ToXContent.Params)
should avoid making backwards incompatible changes to the rendered
result. But if we change the way a request is implemented it might not
be possible to preserve backwards compatibility. In that case, we
can change this on version upgrade but we should be careful
because some statuses (reindex) have become defacto standardized because
they are used by systems like Kibana.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Methods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableName
Methods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment