|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
addSession(HttpSession session)
Add a session to the list of known sessions for a given ID. |
String |
getClusterId(String nodeId)
Get a cluster ID from a node ID. |
String |
getNodeId(String clusterId,
HttpServletRequest request)
Get a node ID from a cluster ID and a request |
String |
getWorkerName()
|
boolean |
idInUse(String id)
|
void |
invalidateAll(String id)
Call HttpSession.invalidate() on all known sessions for the given id. |
String |
newSessionId(HttpServletRequest request,
long created)
|
void |
removeSession(HttpSession session)
Remove session from the list of known sessions for a given ID. |
| Methods inherited from interface org.mortbay.component.LifeCycle |
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop |
| Method Detail |
public boolean idInUse(String id)
id - The session ID without any cluster node extension
public void addSession(HttpSession session)
session - The sessionpublic void removeSession(HttpSession session)
session - public void invalidateAll(String id)
HttpSession.invalidate() on all known sessions for the given id.
id - The session ID without any cluster node extension
public String newSessionId(HttpServletRequest request,
long created)
request - created -
public String getWorkerName()
public String getClusterId(String nodeId)
nodeId -
public String getNodeId(String clusterId,
HttpServletRequest request)
clusterId - The ID of the sessionrequest - The request that for the session (or null)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||