|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfuego.papi.utils.SessionCache
public class SessionCache
Method Summary | |
---|---|
void |
clear()
Closes and removes all sessions in the cache. |
static SessionCache |
create(long timeout)
Create a new session cache for a ProcessService
with a time out for idle sessions. |
ProcessServiceSession |
getSession(String sessionId)
Returns the ProcessServiceSession with the given session id. |
String |
putSession(ProcessServiceSession session)
Adds a session to the cache. |
void |
removeSession(String sessionId)
Closes the session associated with the given session id and removes it from the cache. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SessionCache create(long timeout)
ProcessService
with a time out for idle sessions.
timeout
- Session idle time out.public ProcessServiceSession getSession(String sessionId)
sessionId
- The identification of the session to obtaion.
ProcessServiceSession
public void removeSession(String sessionId)
sessionId
- Session identification to remove.public void clear()
public String putSession(ProcessServiceSession session)
session
- ProcessServiceSession to add to the cache.
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |