com.caucho.management.server
Class StatServiceValue

java.lang.Object
  extended by com.caucho.management.server.StatServiceValue
All Implemented Interfaces:
java.io.Serializable

public class StatServiceValue
extends java.lang.Object
implements java.io.Serializable

Value for a statistics data point.

See Also:
Serialized Form

Constructor Summary
StatServiceValue(long time, double value)
           
StatServiceValue(long time, int count, double sum, double min, double max)
          Standard constructor
 
Method Summary
 double getAverage()
          Returns the value's value
 int getCount()
          Returns the value's value
 double getMax()
          Returns the value's maximum
 double getMin()
          Returns the value's minimum
 double getSum()
          Returns the value's value
 long getTime()
          Returns the value's time
 double getValue()
          Returns the value's average
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatServiceValue

public StatServiceValue(long time,
                        int count,
                        double sum,
                        double min,
                        double max)
Standard constructor


StatServiceValue

public StatServiceValue(long time,
                        double value)
Method Detail

getTime

public long getTime()
Returns the value's time


getCount

public int getCount()
Returns the value's value


getSum

public double getSum()
Returns the value's value


getAverage

public double getAverage()
Returns the value's value


getMin

public double getMin()
Returns the value's minimum


getMax

public double getMax()
Returns the value's maximum


getValue

public double getValue()
Returns the value's average


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object