|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.web.session.currentusers.JiraUserSessionTracker
public class JiraUserSessionTracker
The JiraUserSessionTracker keeps track of the "users" that have a "session" with JIRA.
Field Summary | |
---|---|
static Comparator<JiraUserSession> |
BY_LAST_ACCESS_TIME
A Comparator that sorts by last access time ascending |
Constructor Summary | |
---|---|
JiraUserSessionTracker()
|
Method Summary | |
---|---|
static JiraUserSessionTracker |
getInstance()
Hooks into the ComponentManager to get a singelton instance of JiraUserSessionTracker |
List<JiraUserSession> |
getSnapshot()
This returns a "snapshot" list of sessions that are currently in JIRA, sorted by last access time descending |
static void |
recordInteraction(javax.servlet.http.HttpServletRequest httpServletRequest)
This method (in partnership with AccessLogFilter ) decides what
type of request has occurred and record the appropriate information |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Comparator<JiraUserSession> BY_LAST_ACCESS_TIME
Comparator
that sorts by last access time ascending
Constructor Detail |
---|
public JiraUserSessionTracker()
Method Detail |
---|
public static JiraUserSessionTracker getInstance()
public static void recordInteraction(javax.servlet.http.HttpServletRequest httpServletRequest)
AccessLogFilter
) decides what
type of request has occurred and record the appropriate information
httpServletRequest
- the http request in playpublic List<JiraUserSession> getSnapshot()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |