java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.stats.common.MemoryUsage
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class MemoryUsage extends Object implements Writeable, org.elasticsearch.xcontent.ToXContentObject
  • Field Details

    • TYPE_VALUE

      public static final String TYPE_VALUE
      See Also:
    • PEAK_USAGE_BYTES

      public static final org.elasticsearch.xcontent.ParseField PEAK_USAGE_BYTES
    • STATUS

      public static final org.elasticsearch.xcontent.ParseField STATUS
    • MEMORY_REESTIMATE_BYTES

      public static final org.elasticsearch.xcontent.ParseField MEMORY_REESTIMATE_BYTES
    • STRICT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<MemoryUsage,Void> STRICT_PARSER
    • LENIENT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<MemoryUsage,Void> LENIENT_PARSER
  • Constructor Details

  • Method Details

    • getPeakUsageBytes

      public long getPeakUsageBytes()
    • getStatus

      public MemoryUsage.Status getStatus()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • documentId

      public String documentId(String _jobId)
    • documentIdPrefix

      public static String documentIdPrefix(String jobId)