public class NuxeoHttpSessionMonitor extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REQUEST_COUNTER |
static long |
REQUEST_COUNTER_STEP |
static String |
SESSION_COUNTER |
Constructor and Description |
---|
NuxeoHttpSessionMonitor() |
Modifier and Type | Method and Description |
---|---|
SessionInfo |
addEntry(HttpSession session) |
SessionInfo |
associatedUser(HttpServletRequest request) |
SessionInfo |
associatedUser(HttpSession session,
String userName) |
long |
getGlobalRequestCounter() |
List<SessionInfo> |
getSortedSessions() |
List<SessionInfo> |
getSortedSessions(long maxInactivity) |
Collection<SessionInfo> |
getTrackedSessions() |
static NuxeoHttpSessionMonitor |
instance() |
void |
removeEntry(String sid) |
SessionInfo |
updateEntry(HttpServletRequest request) |
public static final String REQUEST_COUNTER
public static final String SESSION_COUNTER
public static final long REQUEST_COUNTER_STEP
public static NuxeoHttpSessionMonitor instance()
public SessionInfo addEntry(HttpSession session)
public SessionInfo associatedUser(HttpServletRequest request)
public SessionInfo associatedUser(HttpSession session, String userName)
public SessionInfo updateEntry(HttpServletRequest request)
public void removeEntry(String sid)
public Collection<SessionInfo> getTrackedSessions()
public List<SessionInfo> getSortedSessions()
public List<SessionInfo> getSortedSessions(long maxInactivity)
public long getGlobalRequestCounter()
Copyright © 2013 Nuxeo SA. All Rights Reserved.