Class ModelSizeStats
java.lang.Object
org.elasticsearch.client.ml.job.process.ModelSizeStats
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
Provide access to the C++ model size stats for the Java process.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Where will we get the memory requirement from when assigning this job to a node? There are three possibilities: 1.static class
static enum
The status of categorization for a job.static enum
The status of the memory monitored by the ResourceMonitor.Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
Field Namesstatic final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ConstructingObjectParser<ModelSizeStats.Builder,
Void> static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final String
Result typestatic final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare all the fields.long
long
long
long
long
getJobId()
The wall clock time at the point when this instance was created.long
long
The timestamp of the last processed record when this instance was created.long
long
long
long
int
hashCode()
org.elasticsearch.xcontent.XContentBuilder
toXContent
(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
RESULT_TYPE_VALUE
Result type- See Also:
-
RESULT_TYPE_FIELD
public static final org.elasticsearch.xcontent.ParseField RESULT_TYPE_FIELD -
MODEL_BYTES_FIELD
public static final org.elasticsearch.xcontent.ParseField MODEL_BYTES_FIELDField Names -
PEAK_MODEL_BYTES_FIELD
public static final org.elasticsearch.xcontent.ParseField PEAK_MODEL_BYTES_FIELD -
MODEL_BYTES_EXCEEDED_FIELD
public static final org.elasticsearch.xcontent.ParseField MODEL_BYTES_EXCEEDED_FIELD -
MODEL_BYTES_MEMORY_LIMIT_FIELD
public static final org.elasticsearch.xcontent.ParseField MODEL_BYTES_MEMORY_LIMIT_FIELD -
TOTAL_BY_FIELD_COUNT_FIELD
public static final org.elasticsearch.xcontent.ParseField TOTAL_BY_FIELD_COUNT_FIELD -
TOTAL_OVER_FIELD_COUNT_FIELD
public static final org.elasticsearch.xcontent.ParseField TOTAL_OVER_FIELD_COUNT_FIELD -
TOTAL_PARTITION_FIELD_COUNT_FIELD
public static final org.elasticsearch.xcontent.ParseField TOTAL_PARTITION_FIELD_COUNT_FIELD -
BUCKET_ALLOCATION_FAILURES_COUNT_FIELD
public static final org.elasticsearch.xcontent.ParseField BUCKET_ALLOCATION_FAILURES_COUNT_FIELD -
MEMORY_STATUS_FIELD
public static final org.elasticsearch.xcontent.ParseField MEMORY_STATUS_FIELD -
ASSIGNMENT_MEMORY_BASIS_FIELD
public static final org.elasticsearch.xcontent.ParseField ASSIGNMENT_MEMORY_BASIS_FIELD -
CATEGORIZED_DOC_COUNT_FIELD
public static final org.elasticsearch.xcontent.ParseField CATEGORIZED_DOC_COUNT_FIELD -
TOTAL_CATEGORY_COUNT_FIELD
public static final org.elasticsearch.xcontent.ParseField TOTAL_CATEGORY_COUNT_FIELD -
FREQUENT_CATEGORY_COUNT_FIELD
public static final org.elasticsearch.xcontent.ParseField FREQUENT_CATEGORY_COUNT_FIELD -
RARE_CATEGORY_COUNT_FIELD
public static final org.elasticsearch.xcontent.ParseField RARE_CATEGORY_COUNT_FIELD -
DEAD_CATEGORY_COUNT_FIELD
public static final org.elasticsearch.xcontent.ParseField DEAD_CATEGORY_COUNT_FIELD -
FAILED_CATEGORY_COUNT_FIELD
public static final org.elasticsearch.xcontent.ParseField FAILED_CATEGORY_COUNT_FIELD -
CATEGORIZATION_STATUS_FIELD
public static final org.elasticsearch.xcontent.ParseField CATEGORIZATION_STATUS_FIELD -
LOG_TIME_FIELD
public static final org.elasticsearch.xcontent.ParseField LOG_TIME_FIELD -
TIMESTAMP_FIELD
public static final org.elasticsearch.xcontent.ParseField TIMESTAMP_FIELD -
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<ModelSizeStats.Builder,Void> PARSER
-
-
Method Details
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceorg.elasticsearch.xcontent.ToXContent
- Throws:
IOException
-
getJobId
-
getModelBytes
public long getModelBytes() -
getPeakModelBytes
-
getModelBytesExceeded
-
getModelBytesMemoryLimit
-
getTotalByFieldCount
public long getTotalByFieldCount() -
getTotalPartitionFieldCount
public long getTotalPartitionFieldCount() -
getTotalOverFieldCount
public long getTotalOverFieldCount() -
getBucketAllocationFailuresCount
public long getBucketAllocationFailuresCount() -
getMemoryStatus
-
getAssignmentMemoryBasis
-
getCategorizedDocCount
public long getCategorizedDocCount() -
getTotalCategoryCount
public long getTotalCategoryCount() -
getFrequentCategoryCount
public long getFrequentCategoryCount() -
getRareCategoryCount
public long getRareCategoryCount() -
getDeadCategoryCount
public long getDeadCategoryCount() -
getFailedCategoryCount
public long getFailedCategoryCount() -
getCategorizationStatus
-
getTimestamp
The timestamp of the last processed record when this instance was created.- Returns:
- The record time
-
getLogTime
The wall clock time at the point when this instance was created.- Returns:
- The wall clock time
-
hashCode
public int hashCode() -
equals
Compare all the fields.
-