public abstract class MetricData extends Object
Constructor and Description |
---|
MetricData() |
Modifier and Type | Method and Description |
---|---|
abstract Double |
average()
The sum of all of the values in the time range.
|
abstract Long |
count()
The number of samples in the time range.
|
static MetricData |
create(Date timeStamp,
Double total,
Double average,
Double minimum,
Double maximum,
Long count) |
abstract Double |
maximum()
The greatest value in the time range.
|
abstract Double |
minimum()
The least value in the time range.
|
abstract Date |
timeStamp()
The timestamp for the metric value in ISO 8601 format.
|
abstract Double |
total()
The average value in the time range
|
public abstract Date timeStamp()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.