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
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringLOG_ID
-
Constructor Summary
Constructors Constructor and Description SessionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddSession(ISession session)longgetNumberOfSessions()ISessiongetSession(java.lang.String baseIdentification, boolean throwExceptionIfDoesNotExist)java.util.List<java.lang.String>getSessionDescriptions(java.util.Map connectionManagers)voidinit2()The second init phasevoidremoveSession(java.lang.String baseIdentification)java.lang.StringtoString()
-
-
-
Field Detail
-
LOG_ID
public static final java.lang.String LOG_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
init2
public void init2()
Description copied from interface:ITwoPhaseInitThe second init phase- Specified by:
init2in interfaceITwoPhaseInit
-
getSession
public ISession getSession(java.lang.String baseIdentification, boolean throwExceptionIfDoesNotExist)
- Specified by:
getSessionin interfaceISessionManager
-
addSession
public void addSession(ISession session)
- Specified by:
addSessionin interfaceISessionManager
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
removeSession
public void removeSession(java.lang.String baseIdentification)
- Specified by:
removeSessionin interfaceISessionManager
-
getSessionDescriptions
public java.util.List<java.lang.String> getSessionDescriptions(java.util.Map connectionManagers)
- Specified by:
getSessionDescriptionsin interfaceISessionManager
-
getNumberOfSessions
public long getNumberOfSessions()
- Specified by:
getNumberOfSessionsin interfaceISessionManager
-
-
DataMelt 3.0 © DataMelt by jWork.ORG