|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectseda.sandStorm.internal.StageStats
public class StageStats
This class provides controllers with a view of statistics gathered by the stage internally during execution.
Field Summary | |
---|---|
(package private) StageWrapperIF |
stage
|
Constructor Summary | |
---|---|
StageStats(StageWrapperIF stage)
|
Method Summary | |
---|---|
double |
get90thRT()
Get 90th percentile response time in msec. |
double |
getServiceRate()
Return a moving average of the service rate. |
long |
getTotalEvents()
Get total number of processed events. |
void |
record90thRT(double rt_sample)
Record 90th percentile response time in msec. |
void |
recordServiceRate(int numEvents,
long time)
Record the service time for numEvents taking 'time' msec to be processed. |
void |
reset()
Reset all statistics. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
StageWrapperIF stage
Constructor Detail |
---|
public StageStats(StageWrapperIF stage)
Method Detail |
---|
public void reset()
reset
in interface StageStatsIF
public double getServiceRate()
getServiceRate
in interface StageStatsIF
public long getTotalEvents()
getTotalEvents
in interface StageStatsIF
public void recordServiceRate(int numEvents, long time)
recordServiceRate
in interface StageStatsIF
public void record90thRT(double rt_sample)
record90thRT
in interface StageStatsIF
public double get90thRT()
get90thRT
in interface StageStatsIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |