public class JiraUserSessionTracker extends Object
| Modifier and Type | Field and Description |
|---|---|
static Comparator<JiraUserSession> |
BY_LAST_ACCESS_TIME
A
Comparator that sorts by last access time ascending |
| Constructor and Description |
|---|
JiraUserSessionTracker() |
| Modifier and Type | Method and Description |
|---|---|
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 |
public static final Comparator<JiraUserSession> BY_LAST_ACCESS_TIME
Comparator that sorts by last access time ascendingpublic static JiraUserSessionTracker getInstance()
public static void recordInteraction(javax.servlet.http.HttpServletRequest httpServletRequest)
AccessLogFilter) decides what
type of request has occurred and record the appropriate informationhttpServletRequest - the http request in playpublic List<JiraUserSession> getSnapshot()
Copyright © 2002-2018 Atlassian. All Rights Reserved.