Class TimingStats
java.lang.Object
org.elasticsearch.client.ml.job.process.TimingStats
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class TimingStats
extends Object
implements org.elasticsearch.common.xcontent.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
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ConstructingObjectParser<TimingStats,Void>
static org.elasticsearch.common.xcontent.ParseField
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionTimingStats(String jobId, long bucketCount, double totalBucketProcessingTimeMs, Double minBucketProcessingTimeMs, Double maxBucketProcessingTimeMs, Double avgBucketProcessingTimeMs, Double exponentialAvgBucketProcessingTimeMs, Double exponentialAvgBucketProcessingTimePerHourMs)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getJobId()
double
int
hashCode()
toString()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.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 Details
-
BUCKET_COUNT
public static final org.elasticsearch.common.xcontent.ParseField BUCKET_COUNT -
TOTAL_BUCKET_PROCESSING_TIME_MS
public static final org.elasticsearch.common.xcontent.ParseField TOTAL_BUCKET_PROCESSING_TIME_MS -
MIN_BUCKET_PROCESSING_TIME_MS
public static final org.elasticsearch.common.xcontent.ParseField MIN_BUCKET_PROCESSING_TIME_MS -
MAX_BUCKET_PROCESSING_TIME_MS
public static final org.elasticsearch.common.xcontent.ParseField MAX_BUCKET_PROCESSING_TIME_MS -
AVG_BUCKET_PROCESSING_TIME_MS
public static final org.elasticsearch.common.xcontent.ParseField AVG_BUCKET_PROCESSING_TIME_MS -
EXPONENTIAL_AVG_BUCKET_PROCESSING_TIME_MS
public static final org.elasticsearch.common.xcontent.ParseField EXPONENTIAL_AVG_BUCKET_PROCESSING_TIME_MS -
EXPONENTIAL_AVG_BUCKET_PROCESSING_TIME_PER_HOUR_MS
public static final org.elasticsearch.common.xcontent.ParseField EXPONENTIAL_AVG_BUCKET_PROCESSING_TIME_PER_HOUR_MS -
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<TimingStats,Void> PARSER
-
-
Constructor Details
-
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 Details
-
getJobId
-
getBucketCount
public long getBucketCount() -
getTotalBucketProcessingTimeMs
public double getTotalBucketProcessingTimeMs() -
getMinBucketProcessingTimeMs
-
getMaxBucketProcessingTimeMs
-
getAvgBucketProcessingTimeMs
-
getExponentialAvgBucketProcessingTimeMs
-
getExponentialAvgBucketProcessingTimePerHourMs
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-