public class DBThriftSessionDAO extends Object implements ThriftSessionDAO
| Constructor and Description |
|---|
DBThriftSessionDAO() |
| 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() throws org.wso2.carbon.identity.base.IdentityException
getAllSessions in interface ThriftSessionDAOorg.wso2.carbon.identity.base.IdentityExceptionpublic boolean isSessionExisting(String sessionId) throws org.wso2.carbon.identity.base.IdentityException
isSessionExisting in interface ThriftSessionDAOorg.wso2.carbon.identity.base.IdentityExceptionpublic void addSession(org.wso2.carbon.utils.ThriftSession session)
throws org.wso2.carbon.identity.base.IdentityException
addSession in interface ThriftSessionDAOorg.wso2.carbon.identity.base.IdentityExceptionpublic void removeSession(String sessionId) throws org.wso2.carbon.identity.base.IdentityException
removeSession in interface ThriftSessionDAOorg.wso2.carbon.identity.base.IdentityExceptionpublic void updateLastAccessTime(String sessionId, long lastAccessTime) throws org.wso2.carbon.identity.base.IdentityException
updateLastAccessTime in interface ThriftSessionDAOorg.wso2.carbon.identity.base.IdentityExceptionpublic org.wso2.carbon.utils.ThriftSession getSession(String sessionId) throws org.wso2.carbon.identity.base.IdentityException
getSession in interface ThriftSessionDAOorg.wso2.carbon.identity.base.IdentityExceptionpublic ThriftSessionDAO getInstance()
getInstance in interface ThriftSessionDAOCopyright © 2015 WSO2. All rights reserved.