public class Datapoint extends Object
Constructor and Description |
---|
Datapoint(Double average,
Double maximum,
Double minimum,
Date timestamp,
Double samples,
Double sum,
Unit unit,
String customUnit) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Double |
getAverage()
return Average of samples for the datapoint.
|
String |
getCustomUnit()
return CustomUnit defined for the datapoint.
|
Double |
getMaximum()
return Maximum of the samples used for the datapoint.
|
Double |
getMinimum()
return Minimum of samples for the datapoint.
|
Double |
getSamples()
return The number of Measurements that contributed to the aggregate value of this datapoint.
|
Double |
getSum()
return Sum of samples for the datapoint.
|
Date |
getTimestamp()
return Indicates the beginning of the time aggregation for this value and samples.
|
Unit |
getUnit()
return Standard unit used for the datapoint.
|
int |
hashCode() |
String |
toString() |
@Nullable public Double getMaximum()
@Nullable public Date getTimestamp()
@Nullable public Double getSamples()
Copyright © 2009-2012 jclouds. All Rights Reserved.