com.cloudera.api.model
Class ApiMetricData
java.lang.Object
com.cloudera.api.model.ApiMetricData
public class ApiMetricData
- extends Object
A single data point of metric data.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApiMetricData
public ApiMetricData()
ApiMetricData
public ApiMetricData(Date timestamp,
double value)
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.