Class TaskResourceInfo

java.lang.Object
org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject

@PublicApi(since="2.15.0") public class TaskResourceInfo extends Object implements Writeable, ToXContentObject
Task resource usage information with minimal information about the task

Writeable TaskResourceInfo objects are used to represent resource usage information of running tasks, which can be propagated to coordinator node to infer query-level resource usage

Opensearch.api: