Package com.netscape.certsrv.util
Class StatsEvent
- java.lang.Object
-
- com.netscape.certsrv.util.StatsEvent
-
public class StatsEvent extends java.lang.ObjectA statistics transaction.- Version:
- $Revision$, $Date$
- Author:
- thomask
-
-
Constructor Summary
Constructors Constructor Description StatsEvent(StatsEvent parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSubEvent(StatsEvent st)longgetAvg()longgetMax()longgetMin()java.lang.StringgetName()Retrieves Transaction name.longgetNoOfOperations()Retrieves number of operations performed.longgetPercentage()longgetStdDev()StatsEventgetSubEvent(java.lang.String name)Retrieves a sub transaction.java.util.Enumeration<java.lang.String>getSubEventNames()Retrieves a list of sub transaction names.longgetTimeTaken()Retrieves total time token in msec.longgetTimeTakenSqSum()voidincNoOfOperations(long c)voidincTimeTaken(long c)voidresetCounters()voidsetName(java.lang.String name)
-
-
-
Constructor Detail
-
StatsEvent
public StatsEvent(StatsEvent parent)
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
-
getName
public java.lang.String getName()
Retrieves Transaction name.
-
addSubEvent
public void addSubEvent(StatsEvent st)
-
getSubEventNames
public java.util.Enumeration<java.lang.String> getSubEventNames()
Retrieves a list of sub transaction names.
-
getSubEvent
public StatsEvent getSubEvent(java.lang.String name)
Retrieves a sub transaction.
-
resetCounters
public void resetCounters()
-
getMax
public long getMax()
-
getMin
public long getMin()
-
incNoOfOperations
public void incNoOfOperations(long c)
-
getTimeTakenSqSum
public long getTimeTakenSqSum()
-
getPercentage
public long getPercentage()
-
getStdDev
public long getStdDev()
-
getAvg
public long getAvg()
-
getNoOfOperations
public long getNoOfOperations()
Retrieves number of operations performed.
-
incTimeTaken
public void incTimeTaken(long c)
-
getTimeTaken
public long getTimeTaken()
Retrieves total time token in msec.
-
-