org.neodatis.odb.impl.core.server.transaction
Class SessionManager
java.lang.Object
org.neodatis.odb.impl.core.server.transaction.SessionManager
- All Implemented Interfaces:
- ITwoPhaseInit, ISessionManager
public class SessionManager
- extends java.lang.Object
- implements ISessionManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LOG_ID
public static final java.lang.String LOG_ID
- See Also:
- Constant Field Values
sessions
protected java.util.Map<java.lang.String,ISession> sessions
SessionManager
public SessionManager()
init2
public void init2()
- Description copied from interface:
ITwoPhaseInit
- The second init phase
- Specified by:
init2
in interface ITwoPhaseInit
getSession
public ISession getSession(java.lang.String baseIdentification,
boolean throwExceptionIfDoesNotExist)
- Specified by:
getSession
in interface ISessionManager
addSession
public void addSession(ISession session)
- Specified by:
addSession
in interface ISessionManager
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
removeSession
public void removeSession(java.lang.String baseIdentification)
- Specified by:
removeSession
in interface ISessionManager
getSessionDescriptions
public java.util.List<java.lang.String> getSessionDescriptions(java.util.Map connectionManagers)
- Specified by:
getSessionDescriptions
in interface ISessionManager
getNumberOfSessions
public long getNumberOfSessions()
- Specified by:
getNumberOfSessions
in interface ISessionManager