public class StatServiceValue
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
StatServiceValue(long time,
double value) |
StatServiceValue(long time,
int count,
double sum,
double min,
double max)
Standard constructor
|
Modifier and Type | Method and Description |
---|---|
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() |
public StatServiceValue(long time, int count, double sum, double min, double max)
public StatServiceValue(long time, double value)
public long getTime()
public int getCount()
public double getSum()
public double getAverage()
public double getMin()
public double getMax()
public double getValue()
public java.lang.String toString()
toString
in class java.lang.Object