Package com.netscape.certsrv.util
Interface IStatsSubsystem
-
- All Superinterfaces:
ISubsystem
public interface IStatsSubsystem extends ISubsystem
A class represents a internal subsystem. This subsystem can be loaded into cert server kernel to perform statistics collection.- Version:
- $Revision$, $Date$
- Author:
- thomask
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endTiming(java.lang.String id)
Stops timing of a operation.StatsEvent
getMainStatsEvent()
Resets all internal counters.java.util.Date
getStartTime()
Retrieves the start time since startup or clearing of statistics.void
resetCounters()
Resets counters.void
startTiming(java.lang.String id)
Starts timing of a operation.void
startTiming(java.lang.String id, boolean main)
-
Methods inherited from interface com.netscape.certsrv.base.ISubsystem
getConfigStore, getId, init, setId, shutdown, startup
-
-
-
-
Method Detail
-
getStartTime
java.util.Date getStartTime()
Retrieves the start time since startup or clearing of statistics.
-
startTiming
void startTiming(java.lang.String id)
Starts timing of a operation.
-
startTiming
void startTiming(java.lang.String id, boolean main)
-
endTiming
void endTiming(java.lang.String id)
Stops timing of a operation.
-
resetCounters
void resetCounters()
Resets counters.
-
getMainStatsEvent
StatsEvent getMainStatsEvent()
Resets all internal counters.
-
-