Class ModelSizeStats

  • All Implemented Interfaces:
    ToXContent, ToXContentObject

    public class ModelSizeStats
    extends java.lang.Object
    implements ToXContentObject
    Provide access to the C++ model memory usage numbers for the Java process.
    • Field Detail

      • RESULT_TYPE_VALUE

        public static final java.lang.String RESULT_TYPE_VALUE
        Result type
        See Also:
        Constant Field Values
      • RESULT_TYPE_FIELD

        public static final ParseField RESULT_TYPE_FIELD
      • MODEL_BYTES_FIELD

        public static final ParseField MODEL_BYTES_FIELD
        Field Names
      • TOTAL_BY_FIELD_COUNT_FIELD

        public static final ParseField TOTAL_BY_FIELD_COUNT_FIELD
      • TOTAL_OVER_FIELD_COUNT_FIELD

        public static final ParseField TOTAL_OVER_FIELD_COUNT_FIELD
      • TOTAL_PARTITION_FIELD_COUNT_FIELD

        public static final ParseField TOTAL_PARTITION_FIELD_COUNT_FIELD
      • BUCKET_ALLOCATION_FAILURES_COUNT_FIELD

        public static final ParseField BUCKET_ALLOCATION_FAILURES_COUNT_FIELD
      • MEMORY_STATUS_FIELD

        public static final ParseField MEMORY_STATUS_FIELD
      • LOG_TIME_FIELD

        public static final ParseField LOG_TIME_FIELD
      • TIMESTAMP_FIELD

        public static final ParseField TIMESTAMP_FIELD
    • Method Detail

      • getJobId

        public java.lang.String getJobId()
      • getModelBytes

        public long getModelBytes()
      • getTotalByFieldCount

        public long getTotalByFieldCount()
      • getTotalPartitionFieldCount

        public long getTotalPartitionFieldCount()
      • getTotalOverFieldCount

        public long getTotalOverFieldCount()
      • getBucketAllocationFailuresCount

        public long getBucketAllocationFailuresCount()
      • getTimestamp

        public java.util.Date getTimestamp()
        The timestamp of the last processed record when this instance was created.
        Returns:
        The record time
      • getLogTime

        public java.util.Date getLogTime()
        The wall clock time at the point when this instance was created.
        Returns:
        The wall clock time
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Compare all the fields.
        Overrides:
        equals in class java.lang.Object