Interface IStatsSubsystem
- All Superinterfaces:
ISubsystem
- All Known Implementing Classes:
StatsSubsystem
A class represents a internal subsystem. This subsystem
can be loaded into cert server kernel to perform
statistics collection.
- Version:
- $Revision$, $Date$
- Author:
- thomask
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidStops timing of a operation.Resets all internal counters.Retrieves the start time since startup or clearing of statistics.voidResets counters.voidstartTiming(String id) Starts timing of a operation.voidstartTiming(String id, boolean main) Methods inherited from interface ISubsystem
getConfigStore, getId, init, setId, shutdown, startupModifier and TypeMethodDescriptionReturns the root configuration storage of this system.getId()Retrieves the name of this subsystem.voidinit(IConfigStore config) Initializes this subsystem with the given configuration store.voidSets specific to this subsystem.voidshutdown()Stops this system.voidstartup()Notifies this subsystem if owner is in running mode.
-
Field Details
-
ID
- See Also:
-
-
Method Details
-
getStartTime
Date getStartTime()Retrieves the start time since startup or clearing of statistics. -
startTiming
Starts timing of a operation. -
startTiming
-
endTiming
Stops timing of a operation. -
resetCounters
void resetCounters()Resets counters. -
getMainStatsEvent
StatsEvent getMainStatsEvent()Resets all internal counters.
-