org.wso2.carbon.identity.thrift.authentication.dao
Class InMemoryThriftSessionDAO
java.lang.Object
org.wso2.carbon.identity.thrift.authentication.dao.InMemoryThriftSessionDAO
- All Implemented Interfaces:
- ThriftSessionDAO
public class InMemoryThriftSessionDAO
- extends Object
- implements ThriftSessionDAO
Class to manipulate thrift session info in memory.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryThriftSessionDAO
public InMemoryThriftSessionDAO()
getAllSessions
public List<org.wso2.carbon.utils.ThriftSession> getAllSessions()
- Specified by:
getAllSessions in interface ThriftSessionDAO
isSessionExisting
public boolean isSessionExisting(String sessionId)
- Specified by:
isSessionExisting in interface ThriftSessionDAO
addSession
public void addSession(org.wso2.carbon.utils.ThriftSession session)
- Specified by:
addSession in interface ThriftSessionDAO
removeSession
public void removeSession(String sessionId)
- Specified by:
removeSession in interface ThriftSessionDAO
updateLastAccessTime
public void updateLastAccessTime(String sessionId,
long lastAccessTime)
- Specified by:
updateLastAccessTime in interface ThriftSessionDAO
getSession
public org.wso2.carbon.utils.ThriftSession getSession(String sessionId)
- Specified by:
getSession in interface ThriftSessionDAO
getInstance
public ThriftSessionDAO getInstance()
- Specified by:
getInstance in interface ThriftSessionDAO
Copyright © 2015 WSO2. All rights reserved.