Class: kb.Statistics
Defined in: | src/core/statistics.coffee |
Class Method Summary
Instance Method Summary
- # (void) clear() Clear the tracked model events (but keep the registered objects intact)
- # (void) addModelEvent(event) Register a model event
- # (void) modelEventsStatsString() A debug helper to summarize the registered events in human-readable form
- # (void) register(key, obj) Register an object by key
- # (void) unregister(key, obj) Unregister an object by key
- # (Integer) registeredCount(type)
- # (String) registeredStatsString(success_message) A debug helper to summarize the current registered objects by key
Class Method Details
.
(void)
eventsStats(obj, key)
Constructor Details
#
(void)
constructor()
Instance Method Details
#
(void)
clear()
Clear the tracked model events (but keep the registered objects intact)
#
(void)
addModelEvent(event)
Register a model event
#
(void)
modelEventsStatsString()
A debug helper to summarize the registered events in human-readable form
#
(void)
register(key, obj)
Register an object by key
#
(void)
unregister(key, obj)
Unregister an object by key
#
(Integer)
registeredCount(type)
#
(String)
registeredStatsString(success_message)
A debug helper to summarize the current registered objects by key