| Modifier and Type | Field and Description |
|---|---|
| pack-priv AtomicLong | |
| private final LongKeyHashMap | |
| private final Session | |
| private final Session |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv synchronized void | |
| public void | |
| public synchronized Session[] | |
| pack-priv synchronized Session | getSession(long id)
Retrieves the Session with the specified Session identifier or null if no such Session is registered with this SessionManager. |
| public Session | |
| public Session | |
| public Session | |
| public synchronized Session[] | getVisibleSessions(Session session)
Retrieves a list of the Sessions in this container that are visible to the specified Session, given the access rights of the Session User. |
| pack-priv synchronized boolean | |
| public synchronized boolean | |
| public synchronized Session | Returns: Sessionthe database to which the new Session is initially connected db, User the Session User user, boolean the ReadOnly attribute for the new Session readonly, boolean autoCommit, TimeZone the session time zone zone)Binds the specified Session object into this SessionManager's active Session registry. |
| public synchronized Session | |
| public synchronized Session | |
| public synchronized Session | |
| public synchronized void | |
| pack-priv synchronized void | |
| public synchronized void | |
| public synchronized long |
| sessionIdCount | back to summary |
|---|---|
| pack-priv AtomicLong sessionIdCount | |
| sessionMap | back to summary |
|---|---|
| private final LongKeyHashMap<Session> sessionMap | |
| sysLobSession | back to summary |
|---|---|
| private final Session sysLobSession | |
| sysSession | back to summary |
|---|---|
| private final Session sysSession | |
| SessionManager | back to summary |
|---|---|
| public SessionManager(Database db) Constructs a new SessionManager handling the specified Database. Creates a SYS User. | |
| close | back to summary |
|---|---|
| pack-priv synchronized void close() Closes all sessions and system | |
| closeAllSessions | back to summary |
|---|---|
| public void closeAllSessions() Closes all Sessions registered with this SessionManager. | |
| getAllSessions | back to summary |
|---|---|
| public synchronized Session[] getAllSessions() | |
| getSession | back to summary |
|---|---|
| pack-priv synchronized Session getSession(long id) Retrieves the Session with the specified Session identifier or null if no such Session is registered with this SessionManager. | |
| getSysLobSession | back to summary |
|---|---|
| public Session getSysLobSession() | |
| getSysSession | back to summary |
|---|---|
| public Session getSysSession() Retrieves the common SYS Session. | |
| getSysSessionForScript | back to summary |
|---|---|
| public Session getSysSessionForScript(Database db) Retrieves a new SYS Session. | |
| getVisibleSessions | back to summary |
|---|---|
| public synchronized Session[] getVisibleSessions(Session session) Retrieves a list of the Sessions in this container that are visible to the specified Session, given the access rights of the Session User. | |
| isEmpty | back to summary |
|---|---|
| pack-priv synchronized boolean isEmpty() Returns true if no session exists beyond the sys session. | |
| isUserActive | back to summary |
|---|---|
| public synchronized boolean isUserActive(String userName) | |
| newSession | back to summary |
|---|---|
| public synchronized Session newSession(Database db, User user, boolean readonly, boolean autoCommit, TimeZone zone) Binds the specified Session object into this SessionManager's active Session registry. This method is typically called internally as the final step, when a successful connection has been made. | |
| newSessionForLog | back to summary |
|---|---|
| public synchronized Session newSessionForLog(Database db) | |
| newSysSession | back to summary |
|---|---|
| public synchronized Session newSysSession() Retrieves a transient transaction session. | |
| newSysSession | back to summary |
|---|---|
| public synchronized Session newSysSession(HsqlNameManager. | |
| removeSchemaReference | back to summary |
|---|---|
| public synchronized void removeSchemaReference(HsqlNameManager. | |
| removeSession | back to summary |
|---|---|
| pack-priv synchronized void removeSession(Session session) Removes the session from management and disconnects. | |
| resetLoggedSchemas | back to summary |
|---|---|
| public synchronized void resetLoggedSchemas() | |
| resetNewLobIDs | back to summary |
|---|---|
| public synchronized long resetNewLobIDs() | |