| java.lang.Object com.terracotta.session.TerracottaSessionManager
getSession | public Session getSession(SessionId requestedSessionId, HttpServletRequest req, HttpServletResponse res)(Code) | | This method always returns a valid session. If data for the requestedSessionId found and is valid, it is returned.
Otherwise, we must create a new session id, a new session data, a new session, and cookie the response.
|
pauseRequest | public static void pauseRequest(Session sess)(Code) | | The only use for this method [currently] is by Struts' Include Tag, which can generate a nested request. In this
case we have to release session lock, so that nested request (running, potentially, in another JVM) can acquire it.
TerracottaSessionManager.resumeRequest(Session) method will re-aquire the lock.
|
|
|