public class InMemoryThriftSessionDAO extends Object implements ThriftSessionDAO
| Constructor and Description |
|---|
InMemoryThriftSessionDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSession(org.wso2.carbon.utils.ThriftSession session) |
List<org.wso2.carbon.utils.ThriftSession> |
getAllSessions() |
ThriftSessionDAO |
getInstance() |
org.wso2.carbon.utils.ThriftSession |
getSession(String sessionId) |
boolean |
isSessionExisting(String sessionId) |
void |
removeSession(String sessionId) |
void |
updateLastAccessTime(String sessionId,
long lastAccessTime) |
public List<org.wso2.carbon.utils.ThriftSession> getAllSessions()
getAllSessions in interface ThriftSessionDAOpublic boolean isSessionExisting(String sessionId)
isSessionExisting in interface ThriftSessionDAOpublic void addSession(org.wso2.carbon.utils.ThriftSession session)
addSession in interface ThriftSessionDAOpublic void removeSession(String sessionId)
removeSession in interface ThriftSessionDAOpublic void updateLastAccessTime(String sessionId, long lastAccessTime)
updateLastAccessTime in interface ThriftSessionDAOpublic org.wso2.carbon.utils.ThriftSession getSession(String sessionId)
getSession in interface ThriftSessionDAOpublic ThriftSessionDAO getInstance()
getInstance in interface ThriftSessionDAOCopyright © 2015 WSO2. All rights reserved.