public class CacheSessionManager extends Object implements SessionManager
| Modifier and Type | Field and Description |
|---|---|
static String |
SESSION_GROUP |
| Constructor and Description |
|---|
CacheSessionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSession(Session session) |
void |
expireSession(Session session) |
Cache |
getSessionCaches() |
Session[] |
queryAllSessions() |
Session |
querySessionById(String sessionId) |
void |
setSessionCaches(Cache sessionCaches) |
public static final String SESSION_GROUP
public Cache getSessionCaches()
public void setSessionCaches(Cache sessionCaches)
public void addSession(Session session)
addSession in interface SessionManagerpublic void expireSession(Session session)
expireSession in interface SessionManagerpublic Session[] queryAllSessions()
queryAllSessions in interface SessionManagerpublic Session querySessionById(String sessionId)
querySessionById in interface SessionManagerCopyright © 2006–2018 TinyGroup. All rights reserved.