|
|||||||||
| Home >> All >> com >> lutris >> appserver >> server >> [ session overview ] | PREV NEXT | ||||||||
A
- activateSession(String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Puts a session into the 'active' state.
- activeCache - Variable in class com.lutris.appserver.server.session.BasicSessionHome
- The active cache holds sessions that are in the 'active' state.
- activeCache - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- The active cache contains sessions that are actively in use (associated with) by a request.
- activeSessionCount() - Method in interface com.lutris.appserver.server.session.SessionManager
- Gets the number of currently active sessions.
- activeSessionCount() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Gets the number of currently active sessions.
- activeThreadCache - Variable in class com.lutris.appserver.server.session.BasicSessionHome
- The active thread cache holds all the association between active sessions and the threads that have checked them out.
- activeThreadCache - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- The active thread cache holds all the association between active sessions and the threads that have checked them out.
- add(String, User) - Method in class com.lutris.appserver.server.session.BasicSessionUserTable
- Add a session key to the user name of the session xref table.
- add(String, User) - Method in interface com.lutris.appserver.server.session.StandardSessionUserTable
- Add a session key to the user to session xref table.
- alarmVector - Variable in class com.lutris.appserver.server.session.StandardSessionKeyGen
- app - Variable in class com.lutris.appserver.server.session.PagedSessionThresholdTimer
- app - Variable in class com.lutris.appserver.server.session.StandardSessionIdleTimer
- app - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- The application using this session manager.
- attributes - Variable in class com.lutris.appserver.server.session.BasicSession
B
- BASIC - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- The supported session home types.
- BasicSession - class com.lutris.appserver.server.session.BasicSession.
- The standard implementation of the StandardSession interface.
- BasicSession() - Constructor for class com.lutris.appserver.server.session.BasicSession
- Need the following constructor in order to serialize?
- BasicSession(StandardSessionManager, String) - Constructor for class com.lutris.appserver.server.session.BasicSession
- Construct a new session.
- BasicSession(StandardSessionManager, String, SessionData) - Constructor for class com.lutris.appserver.server.session.BasicSession
- Construct a new session.
- BasicSessionHome - class com.lutris.appserver.server.session.BasicSessionHome.
- BasicSessionHome creates instances of BasicSession and manages the 'active'/'passive' state of those sessions.
- BasicSessionHome(StandardSessionManager, Config) - Constructor for class com.lutris.appserver.server.session.BasicSessionHome
- BasicSessionHome(StandardSessionManager, Config, ClassLoader) - Constructor for class com.lutris.appserver.server.session.BasicSessionHome
- BasicSessionUserTable - class com.lutris.appserver.server.session.BasicSessionUserTable.
- Table used by StandardSessionManager to cross reference
Userobjects and sessions. - BasicSessionUserTable(Config) - Constructor for class com.lutris.appserver.server.session.BasicSessionUserTable
- Creates an instance of this table.
C
- CFG_ENCODE_URL_STATE - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- The name of the config variable for the url encoding state
- CFG_IDLE - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- The name of the config variable for the max session idle time.
- CFG_LIFE - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- The name of the config variable for the max session lifetime.
- CFG_NOUSER_IDLE - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- The name of the config variable for the max idle time for sessions with no user.
- CFG_RANDOM - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- The name of the config variable for the interval between introduction of randomness to the session key generator.
- CFG_SCAN - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- The name of the config variable for the interval between scans for idle sessions.
- CFG_SESSION_HOME - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- The name of the config variable for the session home settings.
- CFG_SESSION_HOME_TYPE - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- The name of the config variable for the session home type.
- CUSTOM - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- CreateSessionException - exception com.lutris.appserver.server.session.CreateSessionException.
- Exception thrown by StandardSessionHome if a session cannot be created.
- CreateSessionException(String) - Constructor for class com.lutris.appserver.server.session.CreateSessionException
- Construct a exception without a specified cause.
- CreateSessionException(String, Throwable) - Constructor for class com.lutris.appserver.server.session.CreateSessionException
- Construct a exception with an associated causing exception.
- CreateSessionException(Throwable) - Constructor for class com.lutris.appserver.server.session.CreateSessionException
- Construct a exception with an associated causing exception.
- checkPassiveSessions() - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Pages out any sessions that are passive and have exceeded the page time threshold.
- checkPassiveSessions(long) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Pages out any sessions that are passive and have exceeded the page time threshold.
- checkValid() - Method in class com.lutris.appserver.server.session.BasicSession
- classLoader - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- The class loader used by this app/context.
- cleanUpIdleSessions() - Method in interface com.lutris.appserver.server.session.StandardSessionIdleHandler
- Method that is called by idle handler to clean up sessions.
- cleanUpIdleSessions() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Scans session table to determine if any sessions need to be expired.
- cleanupNewPagedSession() - Method in class com.lutris.appserver.server.session.DiskPagedSessionHome
- Removes a session that is new and paged.
- cleanupNewPagedSession() - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Removes a session that is new and paged.
- cleanupNewSession() - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Cleans up (removes) the oldest unused session from the passive cache.
- cleanupNewSession() - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Cleans up (removes) the oldest unused (new) session from the passive cache.
- clearUser() - Method in class com.lutris.appserver.server.session.BasicSession
- Remove the user association with this session.
- clearUser() - Method in interface com.lutris.appserver.server.session.Session
- Remove the user association with this session.
- com.lutris.appserver.server.session - package com.lutris.appserver.server.session
- config - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- Config options for paged session home.
- containsKey(String) - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Specifies if a key is currently bound to a session.
- containsKey(String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Specifies if a key is currently in use.
- containsKey(String) - Method in interface com.lutris.appserver.server.session.StandardSessionHome
- Specifies if a key is currently bound to a session.
- context - Variable in class com.lutris.appserver.server.session.BasicSession
- createSession(String) - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Creates and returns a new session instance.
- createSession(String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Creates a new session instance in the cache.
- createSession() - Method in interface com.lutris.appserver.server.session.SessionManager
- Create a new
Sessionobject and an associated unique random key. - createSession(String) - Method in interface com.lutris.appserver.server.session.SessionManager
- Create a new
Sessionobject and an associated unique random key. - createSession(String) - Method in interface com.lutris.appserver.server.session.StandardSessionHome
- Creates and returns a new session instance.
- createSession() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Create a new
Sessionobject and associate a unique random key. - createSession(String) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Create a new
Sessionobject and associate a unique random key.
D
- DiskPagedSessionHome - class com.lutris.appserver.server.session.DiskPagedSessionHome.
- The StandardSessionManager uses PagedSessionHome to manage a collection of sessions that can be paged to disk.
- DiskPagedSessionHome(StandardSessionManager, Config, ClassLoader) - Constructor for class com.lutris.appserver.server.session.DiskPagedSessionHome
- DuplicateKeyException - exception com.lutris.appserver.server.session.DuplicateKeyException.
- Exception thrown by StandardSessionHome if a session cannot be created because the session key is already in use.
- DuplicateKeyException(String) - Constructor for class com.lutris.appserver.server.session.DuplicateKeyException
- Construct a exception without a specified cause.
- DuplicateKeyException(String, Throwable) - Constructor for class com.lutris.appserver.server.session.DuplicateKeyException
- Construct a exception with an associated causing exception.
- DuplicateKeyException(Throwable) - Constructor for class com.lutris.appserver.server.session.DuplicateKeyException
- Construct a exception with an associated causing exception.
- data - Variable in class com.lutris.appserver.server.session.BasicSession
- The application specific data for this session.
- debug(String) - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Prints debug information under Logger.DEBUG.
- debug(int, String) - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Prints debug information under Logger.DEBUG.
- debug(String) - Method in class com.lutris.appserver.server.session.BasicSessionUserTable
- Prints debug information under Logger.DEBUG.
- debug(int, String) - Method in class com.lutris.appserver.server.session.BasicSessionUserTable
- Prints debug information under Logger.DEBUG.
- debug(String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Prints debug information under Logger.DEBUG.
- debug(int, String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Prints debug information under Logger.DEBUG.
- debug(String) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Prints debug information under Logger.DEBUG.
- debug(int, String) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Prints debug information under Logger.DEBUG.
- decrementRefCount() - Method in class com.lutris.appserver.server.session.BasicSession
- Returns the number of active references to this object.
- defaultEncodeUrlState - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates url encoding status.
- defaultIdleScanInterval - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Default interval, in seconds, to scan for sessions to expire.
- defaultMaxSessionIdleTime - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Default maximum session idle time, in seconds.
- defaultMaxSessionLifeTime - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Default maximum session life time, in seconds.
- defaultRandomizerIntervals - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Default list of randomize key generator time intervals, in seconds.
- delete() - Method in class com.lutris.appserver.server.session.PagedSessionHandle
- Deletes the paged session.
- deleteSession(String) - Method in class com.lutris.appserver.server.session.DiskPagedSessionHome
- Deletes a paged session.
- deleteSession(String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Deletes a paged session.
- deleteSession(Session) - Method in interface com.lutris.appserver.server.session.SessionManager
- Removes a session from the session manager.
- deleteSession(String) - Method in interface com.lutris.appserver.server.session.SessionManager
- Removes a session from the manager.
- deleteSession(Session) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Removes a session from the Session Table.
- deleteSession(String) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Removes a session from the Session Table.
- doDeleteSession(StandardSession, int) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Does the actual work of deleting an entry from the session table.
- done - Variable in class com.lutris.appserver.server.session.PagedSessionThresholdTimer
E
- ENCODE_URL_ALWAYS - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that url encoding of session ids is always preformed.
- ENCODE_URL_AUTO - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that url encoding of session ids is preformed only when cookies are disabled on the client browser.
- ENCODE_URL_NEVER - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that url encoding of session ids is never preformed.
- emptyTable - Static variable in class com.lutris.appserver.server.session.BasicSessionUserTable
- A empty hash table used to return empty enumerations.
- encodeUrlState - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- The url encoding state.
- ensureNewSession() - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Ensures that a new session can be put into the list in-core sessions that are being managed.
- equals(Object) - Method in class com.lutris.appserver.server.session.SessionThread
- Compares equality of two objects.
G
- getAttribute(String) - Method in class com.lutris.appserver.server.session.BasicSession
- getAttributeNames() - Method in class com.lutris.appserver.server.session.BasicSession
- getCreationTime() - Method in class com.lutris.appserver.server.session.BasicSession
- getEncodeUrlState() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Returns the url encoding state.
- getHttpSession() - Method in class com.lutris.appserver.server.session.BasicSession
- getHttpSession() - Method in interface com.lutris.appserver.server.session.Session
- getHttpSession() - Method in interface com.lutris.appserver.server.session.StandardSession
- Expose the HttpSession interface
- getId() - Method in class com.lutris.appserver.server.session.BasicSession
- getLastAccessedTime() - Method in class com.lutris.appserver.server.session.BasicSession
- getMaxIdleTime() - Method in class com.lutris.appserver.server.session.BasicSession
- Obtain the maximum idle time for this object.
- getMaxIdleTime() - Method in interface com.lutris.appserver.server.session.StandardSession
- Obtain the maximum idle time for this object.
- getMaxInactiveInterval() - Method in class com.lutris.appserver.server.session.BasicSession
- getMaxNoUserIdleTime() - Method in class com.lutris.appserver.server.session.BasicSession
- Obtain the maximum idle time when a
Userobject is not associated with the session. - getMaxNoUserIdleTime() - Method in interface com.lutris.appserver.server.session.StandardSession
- Obtain the maximum idle time when a
Userobject is not associated with the session. - getMaxNoUserSessionIdleTime() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Returns the maximum no-user session idle time, in seconds.
- getMaxSessionIdleTime() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Returns the maximum session idle time, in seconds.
- getMaxSessionLifeTime() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Returns the maximum session life time, in seconds.
- getMode() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Returns the current mode for the session manager.
- getPagedSessionCount() - Method in class com.lutris.appserver.server.session.DiskPagedSessionHome
- Returns the number of paged sessions.
- getPagedSessionCount() - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Returns the number of paged sessions.
- getPagedSessionKeys() - Method in class com.lutris.appserver.server.session.DiskPagedSessionHome
- Returns an enumeration of the keys of all the sessions that have been paged out to persistent storage.
- getPagedSessionKeys() - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Returns an enumeration of the keys of all the sessions that have been paged out to persistent storage.
- getRefCount() - Method in class com.lutris.appserver.server.session.BasicSession
- Returns the number of active references to this object.
- getSession(String) - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Returns the session bound to the session key.
- getSession(Thread, String) - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Returns the session bound to the specified session key.
- getSession(String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Returns the session associated with the session key.
- getSession(Thread, String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Returns the session associated with the session key.
- getSession(String) - Method in interface com.lutris.appserver.server.session.SessionManager
- Returns the
Sessionobject associated with the specified session key. - getSession(Thread, String) - Method in interface com.lutris.appserver.server.session.SessionManager
- Returns the
Sessionobject associated with the specified session key. - getSession(String) - Method in interface com.lutris.appserver.server.session.StandardSessionHome
- Returns the session bound to the session key.
- getSession(Thread, String) - Method in interface com.lutris.appserver.server.session.StandardSessionHome
- Returns the session bound to the specified session key.
- getSession(String) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Lookup the
Sessionobject associated with the specified session key. - getSession(Thread, String) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Lookup the
Sessionobject associated with the specified session key. - getSessionContext() - Method in class com.lutris.appserver.server.session.BasicSession
- getSessionData() - Method in class com.lutris.appserver.server.session.BasicSession
- Obtain the application specific data for this session.
- getSessionData() - Method in interface com.lutris.appserver.server.session.Session
- Obtain the application specific data for this session.
- getSessionKey() - Method in class com.lutris.appserver.server.session.BasicSession
- Obtain the unique key associated with this session.
- getSessionKey() - Method in class com.lutris.appserver.server.session.PagedSessionHandle
- Returns the session key associated with this object.
- getSessionKey() - Method in interface com.lutris.appserver.server.session.Session
- Obtain the unique key associated with this session.
- getSessionKeys(User) - Method in class com.lutris.appserver.server.session.BasicSessionUserTable
- Returns the session keys associated with a particular user.
- getSessionKeys(User) - Method in interface com.lutris.appserver.server.session.SessionManager
- Lookup active sessions keys for a user.
- getSessionKeys() - Method in interface com.lutris.appserver.server.session.SessionManager
- Get an enumeration of all session keys.
- getSessionKeys() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Get all of the active sessions.
- getSessionKeys(User) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Lookup the keys for the active sessions for a user.
- getSessionKeys(User) - Method in interface com.lutris.appserver.server.session.StandardSessionUserTable
- Returns the session keys associated with a particular user.
- getSessionManager() - Method in class com.lutris.appserver.server.session.BasicSession
- Obtain the session manager associated with this session.
- getSessionManager() - Method in interface com.lutris.appserver.server.session.Session
- Obtain the session manager associated with this session.
- getTimeCreated() - Method in class com.lutris.appserver.server.session.BasicSession
- Obtain the creation time for this object.
- getTimeCreated() - Method in class com.lutris.appserver.server.session.PagedSessionHandle
- Returns the time the session referenced by this handle was created.
- getTimeCreated() - Method in interface com.lutris.appserver.server.session.StandardSession
- Obtain the creation time for this object.
- getTimeExpires() - Method in class com.lutris.appserver.server.session.BasicSession
- Obtain the time of expiry for this object.
- getTimeExpires() - Method in interface com.lutris.appserver.server.session.StandardSession
- Obtain the time of expiry for this object.
- getTimeLastUsed() - Method in class com.lutris.appserver.server.session.BasicSession
- Obtain the time of last use for this object.
- getTimeLastUsed() - Method in interface com.lutris.appserver.server.session.StandardSession
- Obtain the time of last use for this object.
- getTransientData() - Method in class com.lutris.appserver.server.session.PagedSession
- Called before the session is paged to disk.
- getUser() - Method in class com.lutris.appserver.server.session.BasicSession
- Obtain the user associated with this session.
- getUser() - Method in interface com.lutris.appserver.server.session.Session
- Obtain the user associated with this session.
- getValue(String) - Method in class com.lutris.appserver.server.session.BasicSession
- getValueNames() - Method in class com.lutris.appserver.server.session.BasicSession
H
- hashCode() - Method in class com.lutris.appserver.server.session.SessionThread
- Returns the hashcode for this object.
- home - Variable in class com.lutris.appserver.server.session.PagedSessionThresholdTimer
I
- idleHandler - Variable in class com.lutris.appserver.server.session.StandardSessionIdleTimer
- idleTimer - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- Background thread that keeps track of session idle time.
- incrementRandomCounter() - Method in class com.lutris.appserver.server.session.StandardSessionKeyGen
- Increment the random counter.
- incrementRefCount() - Method in class com.lutris.appserver.server.session.BasicSession
- Returns the number of active references to this object.
- initHttpSession() - Method in class com.lutris.appserver.server.session.BasicSession
- intervalVector - Variable in class com.lutris.appserver.server.session.StandardSessionKeyGen
- invalidate() - Method in class com.lutris.appserver.server.session.BasicSession
- isNew() - Method in class com.lutris.appserver.server.session.BasicSession
- Returns true if the session is new.
- isNew() - Method in class com.lutris.appserver.server.session.PagedSessionHandle
- Returns true if the session referenced by this handle is new.
- isNew() - Method in interface com.lutris.appserver.server.session.Session
- Returns true if the session is new.
- isSessionExpired(StandardSession) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Determine if a session should be expired based on the idle time.
- isWriteThroughCache() - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Returns true if the current configuration is for a write trhough cache.
K
- keyGenerator - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- Object that generates random session keys.
- keys() - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Returns an enumeration of the keys for all the sessions.
- keys() - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Returns an enumeration of keys for the cached sessions.
- keys() - Method in interface com.lutris.appserver.server.session.StandardSessionHome
- Returns an enumeration of the keys for all the sessions.
L
- loadSessionHome(Config) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Loads the StandardSessionHome used by this session manager.
- loadSessionUserTable(Config) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Loads the StandardSessiondUserTable used by this session manager.
- loader - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- The class loader to use when reading in paged data.
- logChannel - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- Log channel for debugging messages.
- logConfig() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Log configuration information.
- logIn(User, Session, boolean) - Static method in class com.lutris.appserver.server.session.SessionUtil
- Logs a user in.
- logOut(Session) - Static method in class com.lutris.appserver.server.session.SessionUtil
- Dissasociates the user from the session and all references to the session are deleted from the session manager.
- logRegisterUser(Session, String) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Log a user being registered or unregistered.
M
- MAX_SESSIONS_KEY - Variable in class com.lutris.appserver.server.session.BasicSessionHome
- Configuration keys.
- MAX_SESSIONS_KEY - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- Configuration keys.
- MODE_BASIC - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that the session manager is using the basic session home interface to manage sessions.
- MODE_CUSTOM - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that the session manager is using the custom home interface to manage sessions.
- MODE_PAGE_TO_DB - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that the session manager is using the page to database home interface to manage sessions.
- MODE_PAGE_TO_DISK - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that the session manager is using the page to disk home interface to manage sessions.
- maxIdleTime - Variable in class com.lutris.appserver.server.session.BasicSession
- maxNoUserIdleTime - Variable in class com.lutris.appserver.server.session.BasicSession
- maxNoUserSessionIdleTime - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- Maximum session idle time, in seconds for sessions
that don't have a
Userobject associated with them. - maxSessionCount() - Method in interface com.lutris.appserver.server.session.SessionManager
- Gets the maximum number of concurent sessions that existed
at any time since this object was created, or
resetMaxSessionCount()was called. - maxSessionCount() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Gets the maximum number of concurent sessions that existed
at any time since this object was created, or
resetMaxSessionCount()was called. - maxSessionCountDate() - Method in interface com.lutris.appserver.server.session.SessionManager
- Gets the time when the maximum refered to by
maxSessionCount()occured. - maxSessionCountDate() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Gets the time when the maximum refered to by
maxSessionCount()occured. - maxSessionIdleTime - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- Maximum session idle time, in seconds.
- maxSessionLifeTime - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- Maximum session life time, in seconds.
- maxSessions - Variable in class com.lutris.appserver.server.session.BasicSessionHome
- Maximum number of allowed sessions.
- maxSessions - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- Maximum number of allowed sessions.
- maxSessions - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- maxSessionsDate - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- mode - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- Represents the current session management mode.
N
- newSession(StandardSessionManager, String) - Method in class com.lutris.appserver.server.session.DiskPagedSessionHome
- Creates a new session object.
- newSession(StandardSessionManager, String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Creates a new session object.
- newSession(String) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Deprecated. The instance of StandardSessionHome should be replaced instead of extending this method.
- newSessionKey() - Method in class com.lutris.appserver.server.session.StandardSessionKeyGen
- Generates a new random key to identify a session.
- numIntervals - Variable in class com.lutris.appserver.server.session.StandardSessionKeyGen
- numSessions(User) - Method in class com.lutris.appserver.server.session.BasicSessionUserTable
- Get the number of sessions for a user.
- numSessions(User) - Method in interface com.lutris.appserver.server.session.StandardSessionUserTable
- Get the number of sessions for a user.
P
- PAGE_DIR_KEY - Variable in class com.lutris.appserver.server.session.DiskPagedSessionHome
- Configuration keys.
- PAGE_THRESHOLD_KEY - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- PAGE_TIME_THRESHOLD_KEY - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- PAGE_TO_DB - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- PAGE_TO_DISK - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- PAGE_WAIT_KEY - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- PagedSession - class com.lutris.appserver.server.session.PagedSession.
- PagedSession requires that all session data and the user associated with the session be serializable.
- PagedSession() - Constructor for class com.lutris.appserver.server.session.PagedSession
- PagedSession(StandardSessionManager, String) - Constructor for class com.lutris.appserver.server.session.PagedSession
- Construct a new session.
- PagedSessionData - class com.lutris.appserver.server.session.PagedSessionData.
- Session data used to store dynamic application objects.
- PagedSessionData() - Constructor for class com.lutris.appserver.server.session.PagedSessionData
- PagedSessionHandle - class com.lutris.appserver.server.session.PagedSessionHandle.
- A lightweight handle to a session which has been paged to disk.
- PagedSessionHandle(PagedSession, PersistentStore) - Constructor for class com.lutris.appserver.server.session.PagedSessionHandle
- Creates an instance of PagedSessionHandle.
- PagedSessionHome - class com.lutris.appserver.server.session.PagedSessionHome.
- The StandardSessionManager uses PagedSessionHome to manage a collection of sessions that can be paged to disk.
- PagedSessionHome(StandardSessionManager, Config, ClassLoader) - Constructor for class com.lutris.appserver.server.session.PagedSessionHome
- PagedSessionThresholdTimer - class com.lutris.appserver.server.session.PagedSessionThresholdTimer.
- This thread sleeps in the background, waking up periodically to check for inactive sessions and to page out any session that has been inactive for too long.
- PagedSessionThresholdTimer(PagedSessionHome, Application) - Constructor for class com.lutris.appserver.server.session.PagedSessionThresholdTimer
- PagedSessionUserTable - class com.lutris.appserver.server.session.PagedSessionUserTable.
- Table used by StandardSessionManager to cross reference
Userobjects and sessions. - PagedSessionUserTable(Config) - Constructor for class com.lutris.appserver.server.session.PagedSessionUserTable
- pageIn(String) - Method in class com.lutris.appserver.server.session.DiskPagedSessionHome
- Reads a paged session from disk.
- pageIn(String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Reads a paged session from disk.
- pageOut(PagedSession) - Method in class com.lutris.appserver.server.session.DiskPagedSessionHome
- Pages a session to disk.
- pageOut(PagedSession) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Pages a session to disk.
- pageThreshold - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- The threshold where paging beings.
- pageTimeThreshold - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- The amount of time a session may remain in memory unused before it is paged out.
- pageWait - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- If a thread has to wait for a session to be paged before it can retrieve (get) or create a session then pageWait specifies that maximum amount of time that the thread will wait before an exception is thrown.
- pagedCache - Variable in class com.lutris.appserver.server.session.DiskPagedSessionHome
- The paged cache contains handles to passive sessions that have been paged to disk.
- pagedSessionCount() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Gets the number of session that are paged to persistent store.
- pagedSessionKeyExists(String) - Method in class com.lutris.appserver.server.session.DiskPagedSessionHome
- Returns true if the specified session key is in use by a session that has been paged out.
- pagedSessionKeyExists(String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Returns true if the specified session key is in use by a session that has been paged out.
- pagedSize() - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Returns the current number of sessions that are paged to persistent store.
- pagedSize() - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Returns the current number of sessions that are paged to persistent store.
- pagedSize() - Method in interface com.lutris.appserver.server.session.StandardSessionHome
- Returns the current number of sessions that are paged to persistent store.
- passivateSession(Thread, String) - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Puts a session into the 'passive' state.
- passivateSession(Thread, String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Puts an 'active' session into the 'passive' state.
- passivateSession(Thread, String) - Method in interface com.lutris.appserver.server.session.SessionManager
- Puts a session into the 'passive' state.
- passivateSession(Thread, String) - Method in interface com.lutris.appserver.server.session.StandardSessionHome
- Puts a session into the 'passive' state.
- passivateSession(Thread, String) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Puts a session into the 'passive' state.
- passiveCache - Variable in class com.lutris.appserver.server.session.BasicSessionHome
- The active cache holds sessions that are in the 'active' state.
- passiveCache - Variable in class com.lutris.appserver.server.session.PagedSessionHome
- The passive cache contains sessions that aren't currently associated with a request.
- putValue(String, Object) - Method in class com.lutris.appserver.server.session.BasicSession
R
- randomCounter - Variable in class com.lutris.appserver.server.session.StandardSessionKeyGen
- Counter that is incremented by the user of this class to provide a random external value.
- randomizer - Variable in class com.lutris.appserver.server.session.StandardSessionKeyGen
- Random number generator used to generate session keys.
- read() - Method in class com.lutris.appserver.server.session.PagedSessionHandle
- Reads the session from the file system.
- refCount - Variable in class com.lutris.appserver.server.session.BasicSession
- registerUser(Session) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Adds a session's user to the session-to-user table.
- remove(String, User) - Method in class com.lutris.appserver.server.session.BasicSessionUserTable
- Remove a session from the user to session mapping table.
- remove(String) - Method in class com.lutris.appserver.server.session.BasicSessionUserTable
- Removes all references to a session from the user session table.
- remove(String, User) - Method in interface com.lutris.appserver.server.session.StandardSessionUserTable
- Remove a session from the user to session mapping table.
- remove(String) - Method in interface com.lutris.appserver.server.session.StandardSessionUserTable
- Removes all references to a session from the user session table.
- removeAttribute(String) - Method in class com.lutris.appserver.server.session.BasicSession
- removeSession(String) - Method in class com.lutris.appserver.server.session.BasicSessionHome
- Removes a session from the cache.
- removeSession(String) - Method in class com.lutris.appserver.server.session.PagedSessionHome
- Removes the session associated with the session key.
- removeSession(String) - Method in interface com.lutris.appserver.server.session.StandardSessionHome
- Removes a session from the cache.
- removeValue(String) - Method in class com.lutris.appserver.server.session.BasicSession
- resetMaxSessionCount() - Method in interface com.lutris.appserver.server.session.SessionManager
- Reset the maximum session count.
- resetMaxSessionCount() - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Reset the maximum session count.
- restoreTransientData(Object[]) - Method in class com.lutris.appserver.server.session.PagedSession
- Called when the session is paged back into memory.
- resumeLogIn(User, Session) - Static method in class com.lutris.appserver.server.session.SessionUtil
- If a user attempts to login but has not logged out from a previous session then this method can be used to copy data from the previous session into this session and to log out the previous session.
- run() - Method in class com.lutris.appserver.server.session.PagedSessionThresholdTimer
- Main loop.
- run() - Method in class com.lutris.appserver.server.session.StandardSessionIdleTimer
- The main code body of the Idle Timer Thread.
- run() - Method in class com.lutris.appserver.server.session.StandardSessionKeyGen
- The main code body of the Idle Timer Thread.
S
- SESSION_ACTIVE - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that a sesson is still active.
- SESSION_EXPLICT_DELETE - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that a sesson was explictly deleted.
- SESSION_IDLE_EXPIRE - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that a sesson was deleted due to idle time being exceeded.
- SESSION_MAX_TIME - Static variable in class com.lutris.appserver.server.session.StandardSessionManager
- Indicates that a sesson was deleted due to max time being exceeded.
- Session - interface com.lutris.appserver.server.session.Session.
- Defines the interface for the Session object expected by the SessionManager..
- SessionData - class com.lutris.appserver.server.session.SessionData.
- Per-session application data.
- SessionData() - Constructor for class com.lutris.appserver.server.session.SessionData
- SessionException - exception com.lutris.appserver.server.session.SessionException.
- Base Session exception.
- SessionException(String) - Constructor for class com.lutris.appserver.server.session.SessionException
- Construct a exception without a specified cause.
- SessionException(String, Throwable) - Constructor for class com.lutris.appserver.server.session.SessionException
- Construct a exception with an associated causing exception.
- SessionException(Throwable) - Constructor for class com.lutris.appserver.server.session.SessionException
- Construct a exception with an associated causing exception.
- SessionManager - interface com.lutris.appserver.server.session.SessionManager.
- The session management object interface.
- SessionThread - class com.lutris.appserver.server.session.SessionThread.
- Represents a combination of a thread and a session key.
- SessionThread(Thread, String) - Constructor for class com.lutris.appserver.server.session.SessionThread
- Creates an instance of a session-thread association.
- SessionUtil - class com.lutris.appserver.server.session.SessionUtil.
- Static methods that can be used by applications to manage sessions.
- SessionUtil() - Constructor for class com.lutris.appserver.server.session.SessionUtil
- Prevent instantiation.
- StandardSession - interface com.lutris.appserver.server.session.StandardSession.
- Defines the interface for the Session object expected by the StandardSessionManager.
- StandardSessionHome - interface com.lutris.appserver.server.session.StandardSessionHome.
- StandardSessionManager uses StandardSessionHome to manage a collection of sessions.
- StandardSessionIdleHandler - interface com.lutris.appserver.server.session.StandardSessionIdleHandler.
- Interface for class that is involked by StandardSessionIdleTimer to clean up sessions.
- StandardSessionIdleTimer - class com.lutris.appserver.server.session.StandardSessionIdleTimer.
- The idle timer thread for
StandardSessionManager. - StandardSessionIdleTimer(StandardSessionIdleHandler, Application, long) - Constructor for class com.lutris.appserver.server.session.StandardSessionIdleTimer
- StandardSessionKeyGen - class com.lutris.appserver.server.session.StandardSessionKeyGen.
- The session random key generator.
- StandardSessionKeyGen(long[]) - Constructor for class com.lutris.appserver.server.session.StandardSessionKeyGen
- Constructor a new key generator random number entropy generator.
- StandardSessionManager - class com.lutris.appserver.server.session.StandardSessionManager.
- This session manager maintains the mapping between session keys and sessions.
- StandardSessionManager(Application, Config, LogChannel) - Constructor for class com.lutris.appserver.server.session.StandardSessionManager
- Creates a new
SessionManagerobject. - StandardSessionManager(ClassLoader, Config, LogChannel) - Constructor for class com.lutris.appserver.server.session.StandardSessionManager
- StandardSessionUserTable - interface com.lutris.appserver.server.session.StandardSessionUserTable.
- Table used by StandardSessionManager to cross reference
Userobjects and sessions. - scanInterval - Variable in class com.lutris.appserver.server.session.StandardSessionIdleTimer
- scanInterval - Variable in class com.lutris.appserver.server.session.StandardSessionManager
- The time in seconds between scans for idle sessions to expire.
- session - Variable in class com.lutris.appserver.server.session.PagedSessionHandle
- The session that is being paged.
- sessionDeleted(Session, int) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Method called when a session is deleted.
- sessionExists(String) - Method in interface com.lutris.appserver.server.session.SessionManager
- Returns whether the
Sessionobject associated with the specified session key exists. - sessionExists(String) - Method in class com.lutris.appserver.server.session.StandardSessionManager
- Returns whether the
Sessionobject associated with the specified session key exists.