|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tapestry.patchwork.PatchworkStats
The PatchworkStats
data structure contains info describing
thevalues of some statistic, both overall and current (over the last
measurement window).
Nested Class Summary | |
---|---|
static class |
PatchworkStats.StatDelta
|
Constructor Summary | |
---|---|
PatchworkStats(InputBuffer buffer)
Specified by ostore.util.QuickSerializable |
|
PatchworkStats(NodeId node_id,
byte type)
|
|
PatchworkStats(NodeId node_id,
byte type,
long start_value)
|
Method Summary | |
---|---|
protected void |
add(PatchworkStats.StatDelta delta)
|
protected void |
addStat(long value)
|
long |
getCount()
Returns the number of samples used in the last recalculation, to obtain the "current" values. |
double |
getCurrentGeometricMean()
|
long |
getCurrentMax()
|
double |
getCurrentMean()
|
long |
getCurrentMedian()
|
long |
getCurrentMin()
|
double |
getOverallGeometricMean()
|
long |
getOverallMax()
|
double |
getOverallMean()
|
long |
getOverallMin()
|
protected PatchworkStats.StatDelta |
recalculate(double alpha,
double threshold)
|
void |
serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PatchworkStats(NodeId node_id, byte type)
public PatchworkStats(NodeId node_id, byte type, long start_value)
public PatchworkStats(InputBuffer buffer) throws QSException
Method Detail |
public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
protected void add(PatchworkStats.StatDelta delta)
protected void addStat(long value)
public long getOverallMin()
public long getOverallMax()
public double getOverallMean()
public double getOverallGeometricMean()
public long getCurrentMin()
public long getCurrentMax()
public long getCurrentMedian()
public double getCurrentMean()
public double getCurrentGeometricMean()
public long getCount()
protected PatchworkStats.StatDelta recalculate(double alpha, double threshold)
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |