com.cloudera.api.model
Class ApiMetricData

java.lang.Object
  extended by com.cloudera.api.model.ApiMetricData

public class ApiMetricData
extends Object

A single data point of metric data.


Constructor Summary
ApiMetricData()
           
ApiMetricData(Date timestamp, double value)
           
 
Method Summary
 Date getTimestamp()
          When the metric reading was collected.
 double getValue()
          The value of the metric.
 void setTimestamp(Date timestamp)
           
 void setValue(double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiMetricData

public ApiMetricData()

ApiMetricData

public ApiMetricData(Date timestamp,
                     double value)
Method Detail

getTimestamp

public Date getTimestamp()
When the metric reading was collected.


setTimestamp

public void setTimestamp(Date timestamp)

getValue

public double getValue()
The value of the metric.


setValue

public void setValue(double value)


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.