Package org.openstack4j.model.telemetry
Interface Statistics
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
CeilometerStatistics
public interface Statistics extends ModelEntity
Computed Statistics for a Query against a Meter- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DoublegetAvg()IntegergetCount()DoublegetDuration()DategetDurationEnd()DategetDurationStart()StringgetGroupBy()DoublegetMax()DoublegetMin()IntegergetPeriod()DategetPeriodEnd()DategetPeriodStart()DoublegetSum()StringgetUnit()
-
-
-
Method Detail
-
getAvg
Double getAvg()
- Returns:
- The average of all of the volume values seen in the data
-
getCount
Integer getCount()
- Returns:
- The number of samples seen
-
getDuration
Double getDuration()
- Returns:
- The difference, in seconds, between the oldest and newest timestamp
-
getDurationStart
Date getDurationStart()
- Returns:
- UTC date and time of the earliest timestamp, or the query start time
-
getDurationEnd
Date getDurationEnd()
- Returns:
- UTC date and time of the oldest timestamp, or the query end time
-
getMax
Double getMax()
- Returns:
- The maximum volume seen in the data
-
getMin
Double getMin()
- Returns:
- The minimum volume seen in the data
-
getSum
Double getSum()
- Returns:
- The total of all of the volume values seen in the data
-
getPeriod
Integer getPeriod()
- Returns:
- The difference, in seconds, between the period start and end
-
getPeriodStart
Date getPeriodStart()
- Returns:
- UTC date and time of the period start
-
getPeriodEnd
Date getPeriodEnd()
- Returns:
- UTC date and time of the period end
-
getUnit
String getUnit()
- Returns:
- The unit type of the data set
-
getGroupBy
String getGroupBy()
- Returns:
- The group-by of the data set
-
-