public class MetricDatum extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
MetricDatum.Builder  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
MetricDatum(Iterable<Dimension> dimensions,
           String metricName,
           com.google.common.base.Optional<StatisticValues> statisticValues,
           com.google.common.base.Optional<Date> timestamp,
           Unit unit,
           com.google.common.base.Optional<Double> value)
Private constructor to enforce using  
MetricDatum.Builder. | 
| Modifier and Type | Method and Description | 
|---|---|
static MetricDatum.Builder | 
builder()
Returns a new builder. 
 | 
boolean | 
equals(Object o)  | 
Set<Dimension> | 
getDimensions()
return the list of dimensions describing the the metric. 
 | 
String | 
getMetricName()
return the metric name for the metric. 
 | 
com.google.common.base.Optional<StatisticValues> | 
getStatisticValues()
return the object describing the set of statistical values for the metric 
 | 
com.google.common.base.Optional<Date> | 
getTimestamp()
return the time stamp used for the metric 
 | 
Unit | 
getUnit()
return Standard unit used for the metric. 
 | 
com.google.common.base.Optional<Double> | 
getValue()
return the actual value of the metric 
 | 
int | 
hashCode()  | 
protected com.google.common.base.Objects.ToStringHelper | 
string()  | 
String | 
toString()  | 
protected MetricDatum(Iterable<Dimension> dimensions, String metricName, com.google.common.base.Optional<StatisticValues> statisticValues, com.google.common.base.Optional<Date> timestamp, Unit unit, com.google.common.base.Optional<Double> value)
MetricDatum.Builder.public Set<Dimension> getDimensions()
public String getMetricName()
public com.google.common.base.Optional<StatisticValues> getStatisticValues()
public com.google.common.base.Optional<Date> getTimestamp()
public Unit getUnit()
public com.google.common.base.Optional<Double> getValue()
public static MetricDatum.Builder builder()
MetricDatum.Builder constructor.protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.