com.xerox.amazonws.monitoring
Class Datapoint

java.lang.Object
  extended by com.xerox.amazonws.monitoring.Datapoint

public class Datapoint
extends Object

An instance of this class represents a Datapoint for some metrics


Constructor Summary
Datapoint(Calendar timestamp, double samples, Double average, Double sum, Double minimum, Double maximum, String unit, String customUnit)
           
 
Method Summary
 Double getAverage()
           
 String getCustomUnit()
           
 Double getMaximum()
           
 Double getMinimum()
           
 double getSamples()
           
 Double getSum()
           
 Calendar getTimestamp()
           
 String getUnit()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Datapoint

public Datapoint(Calendar timestamp,
                 double samples,
                 Double average,
                 Double sum,
                 Double minimum,
                 Double maximum,
                 String unit,
                 String customUnit)
Method Detail

getTimestamp

public Calendar getTimestamp()

getSamples

public double getSamples()

getAverage

public Double getAverage()

getSum

public Double getSum()

getMinimum

public Double getMinimum()

getMaximum

public Double getMaximum()

getUnit

public String getUnit()

getCustomUnit

public String getCustomUnit()

toString

public String toString()
Overrides:
toString in class Object