com.clearspring.metriccatcher
Class JSONMetric

java.lang.Object
  extended by com.clearspring.metriccatcher.JSONMetric

public class JSONMetric
extends Object


Constructor Summary
JSONMetric()
           
 
Method Summary
 Class<?> getMetricClass()
           
 String getName()
           
 double getTimestamp()
           
 MetricType getType()
           
 double getValue()
           
 void setName(String name)
           
 void setTimestamp(double timestamp)
           
 void setType(String typeName)
           
 void setValue(double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONMetric

public JSONMetric()
Method Detail

getType

public MetricType getType()

getMetricClass

public Class<?> getMetricClass()

setType

public void setType(String typeName)

getName

public String getName()

setName

public void setName(String name)

getValue

public double getValue()

setValue

public void setValue(double value)

getTimestamp

public double getTimestamp()

setTimestamp

public void setTimestamp(double timestamp)


Copyright © 2012. All Rights Reserved.