Class TimingStats
- java.lang.Object
-
- org.elasticsearch.client.ml.job.process.TimingStats
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class TimingStats extends Object implements ToXContentObject
Stats that give more insight into timing of various operations performed as part of anomaly detection job.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ParseFieldAVG_BUCKET_PROCESSING_TIME_MSstatic ParseFieldBUCKET_COUNTstatic ParseFieldEXPONENTIAL_AVG_BUCKET_PROCESSING_TIME_MSstatic ParseFieldEXPONENTIAL_AVG_BUCKET_PROCESSING_TIME_PER_HOUR_MSstatic ParseFieldMAX_BUCKET_PROCESSING_TIME_MSstatic ParseFieldMIN_BUCKET_PROCESSING_TIME_MSstatic ConstructingObjectParser<TimingStats,Void>PARSERstatic ParseFieldTOTAL_BUCKET_PROCESSING_TIME_MS-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description TimingStats(String jobId, long bucketCount, double totalBucketProcessingTimeMs, Double minBucketProcessingTimeMs, Double maxBucketProcessingTimeMs, Double avgBucketProcessingTimeMs, Double exponentialAvgBucketProcessingTimeMs, Double exponentialAvgBucketProcessingTimePerHourMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)DoublegetAvgBucketProcessingTimeMs()longgetBucketCount()DoublegetExponentialAvgBucketProcessingTimeMs()DoublegetExponentialAvgBucketProcessingTimePerHourMs()StringgetJobId()DoublegetMaxBucketProcessingTimeMs()DoublegetMinBucketProcessingTimeMs()doublegetTotalBucketProcessingTimeMs()inthashCode()StringtoString()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
BUCKET_COUNT
public static final ParseField BUCKET_COUNT
-
TOTAL_BUCKET_PROCESSING_TIME_MS
public static final ParseField TOTAL_BUCKET_PROCESSING_TIME_MS
-
MIN_BUCKET_PROCESSING_TIME_MS
public static final ParseField MIN_BUCKET_PROCESSING_TIME_MS
-
MAX_BUCKET_PROCESSING_TIME_MS
public static final ParseField MAX_BUCKET_PROCESSING_TIME_MS
-
AVG_BUCKET_PROCESSING_TIME_MS
public static final ParseField AVG_BUCKET_PROCESSING_TIME_MS
-
EXPONENTIAL_AVG_BUCKET_PROCESSING_TIME_MS
public static final ParseField EXPONENTIAL_AVG_BUCKET_PROCESSING_TIME_MS
-
EXPONENTIAL_AVG_BUCKET_PROCESSING_TIME_PER_HOUR_MS
public static final ParseField EXPONENTIAL_AVG_BUCKET_PROCESSING_TIME_PER_HOUR_MS
-
PARSER
public static final ConstructingObjectParser<TimingStats,Void> PARSER
-
-
Constructor Detail
-
TimingStats
public TimingStats(String jobId, long bucketCount, double totalBucketProcessingTimeMs, @Nullable Double minBucketProcessingTimeMs, @Nullable Double maxBucketProcessingTimeMs, @Nullable Double avgBucketProcessingTimeMs, @Nullable Double exponentialAvgBucketProcessingTimeMs, @Nullable Double exponentialAvgBucketProcessingTimePerHourMs)
-
-
Method Detail
-
getJobId
public String getJobId()
-
getBucketCount
public long getBucketCount()
-
getTotalBucketProcessingTimeMs
public double getTotalBucketProcessingTimeMs()
-
getMinBucketProcessingTimeMs
public Double getMinBucketProcessingTimeMs()
-
getMaxBucketProcessingTimeMs
public Double getMaxBucketProcessingTimeMs()
-
getAvgBucketProcessingTimeMs
public Double getAvgBucketProcessingTimeMs()
-
getExponentialAvgBucketProcessingTimeMs
public Double getExponentialAvgBucketProcessingTimeMs()
-
getExponentialAvgBucketProcessingTimePerHourMs
public Double getExponentialAvgBucketProcessingTimePerHourMs()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
-