Package com.netscape.certsrv.util
Class StatsEvent
java.lang.Object
com.netscape.certsrv.util.StatsEvent
A statistics transaction.
- Version:
- $Revision$, $Date$
- Author:
- thomask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
long
getAvg()
long
getMax()
long
getMin()
getName()
Retrieves Transaction name.long
Retrieves number of operations performed.long
long
getSubEvent
(String name) Retrieves a sub transaction.Retrieves a list of sub transaction names.long
Retrieves total time token in msec.long
void
incNoOfOperations
(long c) void
incTimeTaken
(long c) void
void
-
Constructor Details
-
StatsEvent
-
-
Method Details
-
setName
-
getName
Retrieves Transaction name. -
addSubEvent
-
getSubEventNames
Retrieves a list of sub transaction names. -
getSubEvent
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.
-