Class ReplicationTask
java.lang.Object
org.elasticsearch.tasks.Task
org.elasticsearch.action.support.replication.ReplicationTask
Task that tracks replication actions.
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.elasticsearch.tasks.Task
X_OPAQUE_ID
-
Constructor Summary
-
Method Summary
Methods inherited from class org.elasticsearch.tasks.Task
getAction, getDescription, getHeader, getId, getParentTaskId, getStartTime, getStartTimeNanos, getType, headers, result, result, taskInfo, taskInfo
-
Constructor Details
-
ReplicationTask
-
-
Method Details
-
setPhase
Set the current phase of the task. -
getPhase
Get the current phase of the task. -
getStatus
Description copied from class:Task
Build a status for this task or null if this task doesn't have status. Since most tasks don't have status this defaults to returning null. While this can never perform IO it might be a costly operation, requiring collating lists of results, etc. So only use it if you need the value.
-