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 SessionManager
public void expireSession(Session session)
expireSession
in interface SessionManager
public Session[] queryAllSessions()
queryAllSessions
in interface SessionManager
public Session querySessionById(String sessionId)
querySessionById
in interface SessionManager
Copyright © 2006–2018 TinyGroup. All rights reserved.