|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ui.OwUsageCounter
public class OwUsageCounter
Tracks the user usage.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Nested Class Summary | |
---|---|
static class |
OwUsageCounter.OwUsageState
A usage statistic entry. |
Constructor Summary | |
---|---|
OwUsageCounter()
|
Method Summary | |
---|---|
static int |
getIntervalTime()
get interval time in milliseconds |
static Collection |
getStatistics()
get a collection with OwUsageState entries |
static void |
onLogin(String sessionid_p,
OwBaseUserInfo userid_p)
called when a user logs in |
static void |
onLogout(String sessionid_p,
OwBaseUserInfo userid_p)
called when a user logs off |
static void |
onSessionCreated(String sessionid_p)
called when a session gets created |
static void |
onSessionDestroyed(String sessionid_p)
called when a session gets destroyed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwUsageCounter()
Method Detail |
---|
public static void onLogin(String sessionid_p, OwBaseUserInfo userid_p)
sessionid_p
- userid_p
- public static void onLogout(String sessionid_p, OwBaseUserInfo userid_p)
sessionid_p
- userid_p
- public static Collection getStatistics()
Collection
public static int getIntervalTime()
public static void onSessionCreated(String sessionid_p)
sessionid_p
- String session IDpublic static void onSessionDestroyed(String sessionid_p)
sessionid_p
- String session ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |