|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectza.org.coefficient.util.stats.webapp.WebAppStatisticsMessageSender
public class WebAppStatisticsMessageSender
This is the webapp implementation of the statisticMessageSender. This implementation does not use JMS, instead it spawns a new thread and invokes the service directly within that thread.
Nested Class Summary | |
---|---|
private class |
WebAppStatisticsMessageSender.StatsThread
|
Field Summary |
---|
Fields inherited from interface za.org.coefficient.interfaces.StatisticsMessageSender |
---|
COMPLETE, CREATE, DOWNLOAD, UPDATE, VIEW |
Constructor Summary | |
---|---|
WebAppStatisticsMessageSender()
|
Method Summary | |
---|---|
void |
reportStatistic(java.lang.Long projectId,
java.lang.String moduleName,
java.lang.String action)
This method is used to report a statistic event to the system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebAppStatisticsMessageSender()
Method Detail |
---|
public void reportStatistic(java.lang.Long projectId, java.lang.String moduleName, java.lang.String action)
StatisticsMessageSender
reportStatistic
in interface StatisticsMessageSender
projectId
- identifies the project the stat is associated withmoduleName
- identifies the module associated with the stat, this
value can be null which implies it was a project level stat and
not a project module stat.action
- tells the system what event occurred this must not be
null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |