Class ShutdownPersistentTasksStatus

java.lang.Object
org.elasticsearch.cluster.metadata.ShutdownPersistentTasksStatus
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject

public class ShutdownPersistentTasksStatus extends Object implements Writeable, ToXContentObject
Tracks the status of persistent tasks on a node that is shutting down.

Reports the total number of persistent tasks still assigned to the shutdown node (persistentTasksRemaining), the subset of those that will be proactively reassigned by the persistent task framework (autoReassignableTasksRemaining), and an overall status that is COMPLETE when no auto reassigned tasks remain or IN_PROGRESS otherwise. If the node is not present and has not been seen in the cluster, the status will be NOT_STARTED.