|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap java.util.HashMap org.apache.jetspeed.services.webpage.SessionMap
Stores a map of sessions with other sites for the current portal session. The map is keyed by the portal session's SessionID (from the servlet api). Binds to the servlet's session so that it can be cleaned up on session end. This session keeps a map of all live sessions per site local session.
Constructor Summary | |
SessionMap(java.lang.String sessionID,
java.lang.String sessionUser)
construct a Session Map |
Method Summary | |
int |
getCacheCount()
Gets the cache count for this session. |
int |
getHitCount()
Gets the hitcount for this session. |
int |
getSessionCount()
Gets the managed session count for this portal session. |
java.lang.String |
getSessionID()
Gets the Session ID associated with this session. |
java.lang.String |
getSessionState()
Gets the Session State, for the servlet session. |
java.lang.String |
getUser()
Gets the user associated with this session. |
void |
incCacheCount()
Increments the hitcount for this session. |
void |
incHitCount()
Increments the hitcount for this session. |
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event)
This method is a session binding event callback. |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
This method is a session unbinding event callback. |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Constructor Detail |
public SessionMap(java.lang.String sessionID, java.lang.String sessionUser)
sessionUser
- the user associated with the new session.Method Detail |
public java.lang.String getUser()
public java.lang.String getSessionID()
public java.lang.String getSessionState()
public int getSessionCount()
public int getHitCount()
public void incHitCount()
public int getCacheCount()
public void incCacheCount()
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |