- get(byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
See redis.clients.jedis.BinaryJedisCommands#get(byte[])
- get() - Method in interface com.amadeus.session.repository.redis.RedisFacade.ResponseFacade
-
- getAllKeys(SessionData) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- getAllKeys(SessionData) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
Retrieves all attribute keys associated with session.
- getAllKeys(SessionData) - Method in interface com.amadeus.session.SessionRepository
-
Get all attribute keys stored in the session.
- getAttribute(String) - Method in class com.amadeus.session.RepositoryBackedSession
-
Returns value of the attribute
- getAttribute(String) - Method in interface com.amadeus.session.RequestWithSession
-
Returns value of the attribute.
- getAttribute(String) - Method in interface com.amadeus.session.SessionConfiguration.AttributeProvider
-
Returns value of the attribute
- getAttribute(String, String) - Method in class com.amadeus.session.SessionConfiguration
-
Returns value of attribute from attribute provider if it was supplied or
from system property if it is not present or if there is no attribute
provider
- getAttributeFromCache(String) - Method in class com.amadeus.session.RepositoryBackedSession
-
Retrieves attribute descriptor from internal cache.
- getAttributeNames() - Method in class com.amadeus.session.RepositoryBackedSession
-
Retrieves list of all known attributes.
- getAttributeNamesWithValues() - Method in class com.amadeus.session.RepositoryBackedSession
-
Used internally to get attribute names that have values
- getCommitter() - Method in class com.amadeus.session.RepositoryBackedSession
-
Returns committer that can be called to commit session.
- getConcurrentUses() - Method in class com.amadeus.session.RepositoryBackedSession
-
- getConfiguration() - Method in class com.amadeus.session.SessionManager
-
- getCreationTime() - Method in class com.amadeus.session.RepositoryBackedSession
-
Returns the time when this session was created, measured in milliseconds
since midnight January 1, 1970 GMT.
- getCreationTime() - Method in class com.amadeus.session.SessionData
-
Creation time expressed in seconds since epoch.
- getEncryptionKey() - Method in class com.amadeus.session.SessionConfiguration
-
Returns encryption key to use.
- getHost() - Method in class com.amadeus.session.repository.redis.RedisConfiguration.HostAndPort
-
- getId() - Method in class com.amadeus.session.RepositoryBackedSession
-
Returns a string containing the unique identifier assigned to this session.
- getId() - Method in class com.amadeus.session.SessionData
-
- getLastAccessedTime() - Method in class com.amadeus.session.RepositoryBackedSession
-
Returns the last time the client sent a request associated with this
session, as the number of milliseconds since midnight January 1, 1970 GMT,
and marked by the time the request was received.
- getLastAccessedTime() - Method in class com.amadeus.session.SessionData
-
Last accessed time expressed in seconds since epoch.
- getLinked() - Method in interface com.amadeus.session.repository.redis.RedisFacade.RedisPubSub
-
Returns linked underlying PubSub listener implementation.
- getLoggingMdcKey() - Method in class com.amadeus.session.SessionConfiguration
-
Returns key used to store current session id to logging system's Mapped
Diagnostic Context (MDC).
- getMandatoryRemoteKeys() - Method in class com.amadeus.session.SessionData
-
Set of keys whose attributes must be directly stored and retrieved from
repository.
- getMaxInactiveInterval() - Method in class com.amadeus.session.RepositoryBackedSession
-
Returns maximum inactive interval for the session in seconds.
- getMaxInactiveInterval() - Method in class com.amadeus.session.SessionConfiguration
-
Returns maximum inactivity interval before session expires in seconds.
- getMaxInactiveInterval() - Method in class com.amadeus.session.SessionData
-
Returns maximum inactivity interval before session expires in seconds.
- getMetrics() - Method in class com.amadeus.session.SessionManager
-
Retrieves metric registry for this session manager.
- getNamespace() - Method in class com.amadeus.session.SessionConfiguration
-
Namespace for session.
- getNode() - Method in class com.amadeus.session.SessionConfiguration
-
Returns id of the current node
- getNonCacheable() - Method in class com.amadeus.session.SessionConfiguration
-
Returns set of keys that should not be cached locally.
- getNotifier() - Method in class com.amadeus.session.SessionManager
-
- getOldSessionId() - Method in class com.amadeus.session.SessionData
-
Retrieves old session id or null if session id was not changed.
- getOriginalId() - Method in class com.amadeus.session.SessionData
-
Returns session id that was used to retrieve session from store.
- getOriginalLastAccessed() - Method in class com.amadeus.session.SessionData
-
Last accessed instant retrieved from repository.
- getOwnedSessionIds() - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- getOwnedSessionIds() - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
- getOwnedSessionIds() - Method in interface com.amadeus.session.SessionRepository
-
Returns session ids stored in repository and owned by current application
node.
- getPoolSize() - Method in class com.amadeus.session.repository.redis.RedisConfiguration
-
- getPort() - Method in class com.amadeus.session.repository.redis.RedisConfiguration.HostAndPort
-
- getPreviousOwner() - Method in class com.amadeus.session.SessionData
-
Returns id of the node that owned session in previous request
- getPropertySecured(String, String) - Static method in class com.amadeus.session.SessionConfiguration
-
Returns value of system property, and logs information if access to
properties is protected.
- getProviderConfiguration() - Method in class com.amadeus.session.SessionConfiguration
-
Returns configuration string for the repository provider.
- getRedisFacade(RedisConfiguration) - Method in class com.amadeus.session.repository.redis.AbstractRedisSessionRepositoryFactory
-
Override this method to implement abstract factory for
RedisFacade.
- getRedisFacade(RedisConfiguration) - Method in class com.amadeus.session.repository.redis.JedisSessionRepositoryFactory
-
- getReplicationTrigger() - Method in class com.amadeus.session.SessionConfiguration
-
Returns strategy used to detect if attribute changed.
- getRepository() - Method in class com.amadeus.session.SessionManager
-
- getRepositoryBackedSession(boolean) - Method in interface com.amadeus.session.RequestWithSession
-
- getRepositoryFactory() - Method in class com.amadeus.session.SessionConfiguration
-
Gets the class name or the unique identifier of the repository factory.
- getRepositoryKeys() - Method in class com.amadeus.session.SessionData
-
Retrieves set of keys for this session that have been stored in repository.
- getRequestedSessionId() - Method in interface com.amadeus.session.RequestWithSession
-
Id that has been retrieved from request.
- getSerializerDeserializer() - Method in class com.amadeus.session.SessionManager
-
Serialiazer/deserializer to use when storing to repository.
- getSession(RequestWithSession, boolean, String) - Method in class com.amadeus.session.SessionManager
-
Builds or retrieves session.
- getSessionAttribute(SessionData, String) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- getSessionAttribute(SessionData, String) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
- getSessionAttribute(SessionData, String) - Method in interface com.amadeus.session.SessionRepository
-
Returns value of the attribute or null if attribute or session
have not been found
- getSessionClassLoader() - Method in class com.amadeus.session.SessionManager
-
Returns class loader to be used for session objects.
- getSessionData(String) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- getSessionData(String) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
This method retrieves session data from repository.
- getSessionData() - Method in class com.amadeus.session.RepositoryBackedSession
-
- getSessionData(String) - Method in interface com.amadeus.session.SessionRepository
-
Retrieves global session data from repository.
- getSessionIdName() - Method in class com.amadeus.session.SessionConfiguration
-
Returns name of identifier that is used to stored session id.
- getSessionManager() - Method in class com.amadeus.session.RepositoryBackedSession
-
- getSessionTracking() - Method in class com.amadeus.session.SessionConfiguration
-
Returns class name or unique id of the session tracking.
- getStrategy() - Method in class com.amadeus.session.repository.redis.RedisConfiguration
-
- getTimeout() - Method in class com.amadeus.session.repository.redis.RedisConfiguration
-
- getTrueNamespace() - Method in class com.amadeus.session.SessionConfiguration
-
Returns configured namespace of the session (may be null).
- idName - Variable in class com.amadeus.session.servlet.BaseSessionTracking
-
- idProvider - Variable in class com.amadeus.session.servlet.BaseSessionTracking
-
- info(String) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
Returns information about server
- init(FilterConfig) - Method in class com.amadeus.session.servlet.SessionFilter
-
Initializes session management based on repository for current servlet
context.
- initForSession(FilterConfig) - Method in class com.amadeus.session.servlet.SessionFilter
-
Initializes session management based on repository for current servlet
context.
- initializeFrom(SessionConfiguration.AttributeProvider) - Method in class com.amadeus.session.SessionConfiguration
-
Allows setting up configuration from external source.
- InitializeSessionManagement - Class in com.amadeus.session.servlet
-
This class adds default filter if no filters were registered by the
container.
- InitializeSessionManagement() - Constructor for class com.amadeus.session.servlet.InitializeSessionManagement
-
- initSessionManagement(ServletContext) - Method in class com.amadeus.session.servlet.SessionHelpers
-
This method initializes session management for a given
ServletContext.
- initSessionManagement(ServletContext) - Static method in class com.amadeus.session.servlet.SessionHelpersFacade
-
This method initializes session management for a given
ServletContext.
- InMemoryRepository - Class in com.amadeus.session.repository.inmemory
-
Session Repository implementation that stores session in memory.
- InMemoryRepository(String) - Constructor for class com.amadeus.session.repository.inmemory.InMemoryRepository
-
Constructor for in-memory repository.
- InMemoryRepositoryFactory - Class in com.amadeus.session.repository.inmemory
-
This class creates in-memory session repositories.
- InMemoryRepositoryFactory() - Constructor for class com.amadeus.session.repository.inmemory.InMemoryRepositoryFactory
-
- INTERCEPT_LISTENERS - Static variable in class com.amadeus.session.SessionConfiguration
-
Specifies if listeners should be discovered using interception of native
session.
- interceptHttpListener(EventListener, HttpSessionEvent) - Method in class com.amadeus.session.servlet.SessionHelpers
-
Call to this method is injected by agent into implementations of
HttpSessionAttributeListener and HttpSessionListener inside
Servlet 2.5 containers.
- interceptHttpListener(Object, HttpSessionEvent) - Static method in class com.amadeus.session.servlet.SessionHelpersFacade
-
Call to this method is injected by agent into implementations of
HttpSessionAttributeListener and HttpSessionListener inside
Servlet 2.5 containers.
- invalidate() - Method in class com.amadeus.session.RepositoryBackedSession
-
Invalidates this session then unbinds any objects bound to it.
- invalidationConflict(RepositoryBackedSession, boolean) - Method in class com.amadeus.session.SessionManager
-
- invokeCommit(RepositoryBackedSession) - Method in class com.amadeus.session.SessionManager
-
- isAllowedCachedSessionReuse() - Method in class com.amadeus.session.SessionConfiguration
-
Returns true if multiple concurrent threads that operate on
same session can re-use session from local cache.
- isCommitOnAllConcurrent() - Method in class com.amadeus.session.SessionConfiguration
-
Returns true if commit of attributes should be done on all
concurrent requests to session.
- isCommitted() - Method in class com.amadeus.session.RepositoryBackedSession
-
Returns true if session was committed during request
- isDelegateWriter() - Method in class com.amadeus.session.SessionConfiguration
-
- isDirty() - Method in class com.amadeus.session.RepositoryBackedSession
-
Set to true if session has been changed during request since
last commit.
- isDistributable() - Method in class com.amadeus.session.SessionConfiguration
-
Returns true if session can be stored remote repository.
- isDistributed() - Method in class com.amadeus.session.repository.inmemory.InMemoryRepositoryFactory
-
- isDistributed() - Method in class com.amadeus.session.repository.redis.AbstractRedisSessionRepositoryFactory
-
- isDistributed() - Method in interface com.amadeus.session.SessionRepositoryFactory
-
Returns true if repository enforces distribution of sessions
(i.e.
- isDistributing() - Method in interface com.amadeus.session.SessionRepository.CommitTransaction
-
Returns true if executing the transaction results in session
data being distributed to remote store.
- isExpired() - Method in class com.amadeus.session.RepositoryBackedSession
-
Returns true if session has expired.
- isForceDistributable() - Method in class com.amadeus.session.SessionConfiguration
-
Returns true if distribution/replication should be used even
when web app is marked as non-distributable.
- isIdChanged() - Method in class com.amadeus.session.SessionData
-
Return true if session id has changed.
- isIdRetrieved() - Method in interface com.amadeus.session.RequestWithSession
-
Returns true if id has been retrieved
- isInterceptListeners() - Method in class com.amadeus.session.SessionConfiguration
-
- isLoggingMdcActive() - Method in class com.amadeus.session.SessionConfiguration
-
Returns true if session information should be stored in
logging systems Mapped Diagnostic Context (MDC).
- isMaybeInRepository(String) - Method in class com.amadeus.session.SessionData
-
Checks if key is a key of an attribute that present in repository.
- isNew() - Method in class com.amadeus.session.RepositoryBackedSession
-
Returns true if the client does not yet know about the session
or if the client chooses not to join the session.
- isNew() - Method in class com.amadeus.session.SessionData
-
- isNonCacheable(String) - Method in class com.amadeus.session.SessionData
-
Returns true if attribute must be retrieved and stored
directly into repository.
- isRedisException(Exception) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
Returns true if exception was thrown by redis library
- isReplicateOnGet() - Method in enum com.amadeus.session.SessionConfiguration.ReplicationTrigger
-
Returns true if session should be replicated on getAttribute
operation
- isRepositoryChecked() - Method in interface com.amadeus.session.RequestWithSession
-
Returns true if repository was checked to see if it contains
the session corresponding to request.
- isSetAllAttributes() - Method in interface com.amadeus.session.SessionRepository.CommitTransaction
-
Set to true if all attributes must be committed.
- isSticky() - Method in class com.amadeus.session.SessionConfiguration
-
Returns true if sessions are sticky.
- isTimestampSufix() - Method in class com.amadeus.session.SessionConfiguration
-
Returns true if session id is expected to be suffixed by !timestamp.
- isUsingEncryption() - Method in class com.amadeus.session.SessionConfiguration
-
Returns true if session should be encrypted before storing in
repository.
- isValid() - Method in class com.amadeus.session.RepositoryBackedSession
-
Returns true if session is valid.
- RandomIdProvider - Class in com.amadeus.session
-
Generates id consisting of random character strings of a given length in bytes.
- RandomIdProvider() - Constructor for class com.amadeus.session.RandomIdProvider
-
Default id length is 30 bytes.
- readId(String) - Method in class com.amadeus.session.RandomIdProvider
-
- readId(String) - Method in interface com.amadeus.session.SessionIdProvider
-
Returns cleaned session id or null if value has invalid id
format.
- readId(String) - Method in class com.amadeus.session.UuidProvider
-
- REDIS_CLUSTER_MODE - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
-
System or configuration property that specifies the redis clustering mode.
- REDIS_EXPIRATION_STRATEGY - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
-
System or configuration property that specifies expiration strategy used by
redis.
- REDIS_HOST - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
-
System or configuration property that specifies the address(es) and
optionally port(s) of redis servers or sentinels.
- REDIS_MASTER_NAME - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
-
System or configuration property that specifies the name of redis master
when using sentinel mode.
- REDIS_POOL_SIZE - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
-
System or configuration property that specifies the size of the pool of
redis connections.
- REDIS_PORT - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
-
System or configuration property that specifies port of redis server(s) or
sentinel(s).
- REDIS_TIMEOUT - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
-
System or configuration property that specifies connection and socket
timeout used by redis.
- REDIS_USE_IPV4 - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
-
System or configuration property that specifies that redis server(s) are
identified using IPv4 addresses.
- REDIS_USE_IPV6 - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
-
System or configuration property that specifies that redis server(s) are
identified using IPv6 addresses.
- RedisConfiguration - Class in com.amadeus.session.repository.redis
-
This class encapsulates configuration of Redis servers.
- RedisConfiguration(SessionConfiguration) - Constructor for class com.amadeus.session.repository.redis.RedisConfiguration
-
- RedisConfiguration.HostAndPort - Class in com.amadeus.session.repository.redis
-
- RedisFacade - Interface in com.amadeus.session.repository.redis
-
This interface offers subset of redis.clients.jedis.BinaryJedisCommands.
- RedisFacade.RedisPubSub - Interface in com.amadeus.session.repository.redis
-
Used to implement PUBSUB mechanism.
- RedisFacade.ResponseFacade<T> - Interface in com.amadeus.session.repository.redis
-
Used to wrap implementation's response for transactions.
- RedisFacade.TransactionFacade - Interface in com.amadeus.session.repository.redis
-
Used to encapsulate redis library's transaction (MULTI) processing.
- RedisFacade.TransactionRunner<T> - Interface in com.amadeus.session.repository.redis
-
Implementation of this interface can be run within a redis transaction.
- RedisSessionRepository - Class in com.amadeus.session.repository.redis
-
Main class for implementing Redis repository logic.
- RedisSessionRepository(RedisFacade, String, String, ExpirationStrategy, boolean) - Constructor for class com.amadeus.session.repository.redis.RedisSessionRepository
-
- remove(SessionData) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- remove(SessionData) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
- remove(SessionData) - Method in class com.amadeus.session.SessionManager
-
- remove(SessionData) - Method in interface com.amadeus.session.SessionRepository
-
Removes session from the repository.
- removeAttribute(String) - Method in class com.amadeus.session.RepositoryBackedSession
-
Removes the object bound with the specified name from this session.
- removeAttribute(String) - Method in interface com.amadeus.session.SessionRepository.CommitTransaction
-
The passed attribute will be removed from repository.
- removeSessionAttribute(SessionData, String) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- removeSessionAttribute(SessionData, String) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
- removeSessionAttribute(SessionData, String) - Method in interface com.amadeus.session.SessionRepository
-
The attribute for the session will be removed from the repository.
- rename(byte[], byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
See redis.clients.jedis.BinaryJedisCommands#rename(byte[], byte[])
- repository(SessionConfiguration) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepositoryFactory
-
- repository(SessionConfiguration) - Method in class com.amadeus.session.repository.redis.AbstractRedisSessionRepositoryFactory
-
- repository - Variable in class com.amadeus.session.SessionManager
-
- repository(SessionConfiguration) - Method in interface com.amadeus.session.SessionRepositoryFactory
-
Returns new repository instance based on configuration.
- REPOSITORY_FACTORY_NAME - Static variable in class com.amadeus.session.SessionConfiguration
-
- RepositoryBackedSession - Class in com.amadeus.session
-
Session that can be stored in repository.
- RepositoryBackedSession(SessionData, SessionManager, SessionFactory) - Constructor for class com.amadeus.session.RepositoryBackedSession
-
- RepositoryBackedSession(RepositoryBackedSession) - Constructor for class com.amadeus.session.RepositoryBackedSession
-
- repositoryChecked() - Method in interface com.amadeus.session.RequestWithSession
-
Marks that repository was checked to see if it contains the session
corresponding to request.
- requestFinished() - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- requestFinished() - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
Dissociates jedis connection from the current thread and returns it to the pool.
- requestFinished() - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
- requestFinished() - Method in class com.amadeus.session.SessionManager
-
Called when request has been finished.
- requestFinished() - Method in interface com.amadeus.session.SessionRepository
-
Called to clean up resources after the request has been completed and the
session will no longer be used in the current thread.
- RequestWithSession - Interface in com.amadeus.session
-
Implementations of request that can be managed by SessionManager must
implement this interface.
- ResponseWithSessionId - Interface in com.amadeus.session
-
Marker for responses that can propagate session ids
- retrieveId(RequestWithSession) - Method in class com.amadeus.session.servlet.UrlSessionTracking
-
- retrieveId(RequestWithSession) - Method in interface com.amadeus.session.SessionTracking
-
Retrieves session id from the request
- REUSE_CONCURRENT_SESSION - Static variable in class com.amadeus.session.SessionConfiguration
-
ServletContext parameter or system property activating sharing of instances
of session during concurrent requests.
- run(RedisFacade.TransactionFacade) - Method in interface com.amadeus.session.repository.redis.RedisFacade.TransactionRunner
-
Runs transaction and returns its result.
- sadd(byte[], byte[]...) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
See redis.clients.jedis.BinaryJedisCommands#sadd(byte[], byte[]...)
- SafeEncoder - Class in com.amadeus.session.repository.redis
-
Similar to implmentation in jedis
- schedule(String, Runnable, long) - Method in class com.amadeus.session.SessionManager
-
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class com.amadeus.session.ExecutorFacade
-
Creates and executes a periodic action that becomes enabled first after the
given initial delay, and subsequently with the given period; that is
executions will commence after initialDelay then
initialDelay+period, then initialDelay + 2 * period, and so
on.
- serialize(Object) - Method in class com.amadeus.session.EncryptingSerializerDeserializer
-
- serialize(Object) - Method in class com.amadeus.session.JdkSerializerDeserializer
-
- serialize(Object) - Method in interface com.amadeus.session.SerializerDeserializer
-
Serializes object into a byte array.
- SerializerDeserializer - Interface in com.amadeus.session
-
Implementations of this interface provide serialization/deserialization logic
for objects in session.
- serializerDeserializer - Variable in class com.amadeus.session.SessionManager
-
- SESSION_ENCRYPTION_KEY - Static variable in class com.amadeus.session.SessionConfiguration
-
Specifies key to be used for encryption.
- SESSION_HOST - Static variable in class com.amadeus.session.SessionConfiguration
-
Enables overriding the name of the host.
- SESSION_ID_LENGTH - Static variable in class com.amadeus.session.SessionConfiguration
-
ServletContext parameter or system property specifying the length of the
generates session ids.
- SESSION_ID_NAME - Static variable in class com.amadeus.session.SessionConfiguration
-
ServletContext parameter or system property containing the name of the
cookie or URL element for propagating session.
- SESSION_ID_PROVIDER - Static variable in class com.amadeus.session.SessionConfiguration
-
ServletContext parameter or system property indicating what provider
generates session ids.
- SESSION_ID_TIMESTAMP_SEPARATOR - Static variable in class com.amadeus.session.servlet.BaseSessionTracking
-
- SESSION_NAMESPACE - Static variable in class com.amadeus.session.SessionConfiguration
-
The namespace for sessions.
- SESSION_PROPAGATOR_NAME - Static variable in class com.amadeus.session.SessionConfiguration
-
ServletContext parameter or system property containing the name of the
SessionTracking implementation or value from
com.amadeus.session.servlet.SessionPropagation enumeration.
- SESSION_REPLICATION_TRIGGER - Static variable in class com.amadeus.session.SessionConfiguration
-
Strategy for for triggering replication.
- SESSION_TIMESTAMP - Static variable in class com.amadeus.session.SessionConfiguration
-
Indicate if generated session prefixed with!Timestamp.
- SessionConfiguration - Class in com.amadeus.session
-
Main configuration parameters for the session management.
- SessionConfiguration() - Constructor for class com.amadeus.session.SessionConfiguration
-
Default constructor.
- SessionConfiguration.AttributeProvider - Interface in com.amadeus.session
-
- SessionConfiguration.ReplicationTrigger - Enum in com.amadeus.session
-
Strategies for detecting when does an attribute change.
- sessionCreated(RepositoryBackedSession) - Method in interface com.amadeus.session.SessionNotifier
-
Invoked after a session has been created.
- SessionData - Class in com.amadeus.session
-
Container for basic session information.
- SessionData(String, long, int, long, String) - Constructor for class com.amadeus.session.SessionData
-
Constructor with session id, last epoch time of access, maximum inactivity
interval, creation time (from epoch) and node id of previous owner.
- SessionData(String, long, int) - Constructor for class com.amadeus.session.SessionData
-
Constructor used when session is created.
- sessionDestroyed(RepositoryBackedSession, boolean) - Method in interface com.amadeus.session.SessionNotifier
-
Invoked when a session will be destroyed.
- SessionFactory - Interface in com.amadeus.session
-
- SessionFilter - Class in com.amadeus.session.servlet
-
Filter that wraps the httpRequest to enable Http Session caching.
- SessionFilter() - Constructor for class com.amadeus.session.servlet.SessionFilter
-
- SessionHelpers - Class in com.amadeus.session.servlet
-
This class contains various methods that are called either from session
enabled filters, or from code injected by SessionAgent.
- SessionHelpers() - Constructor for class com.amadeus.session.servlet.SessionHelpers
-
- SessionHelpersFacade - Class in com.amadeus.session.servlet
-
This class contains various methods that are called either from session
enabled filters, or from code injected by SessionAgent.
- sessionIdChange(SessionData) - Method in class com.amadeus.session.DefaultSessionFactory
-
- sessionIdChange(SessionData) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- sessionIdChange(SessionData) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
Changes session id.
- sessionIdChange(SessionData) - Method in interface com.amadeus.session.SessionFactory
-
Called by session manager to notify session factory that session id has
changed.
- sessionIdChange(SessionData) - Method in interface com.amadeus.session.SessionRepository
-
Called by session manager to notify repository that session id has changed.
- sessionIdChanged(RepositoryBackedSession, String) - Method in interface com.amadeus.session.SessionNotifier
-
Invoked when the session id changes.
- SessionIdProvider - Interface in com.amadeus.session
-
Implementations of this interface are responsible for generating new session
ids and parsing/cleaning the received ones.
- sessionKey(String) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
Returns session key used to index session in redis.
- sessionManager - Variable in class com.amadeus.session.DefaultSessionFactory
-
- SessionManager - Class in com.amadeus.session
-
Main class responsible for managing sessions.
- SessionManager(ExecutorFacade, SessionFactory, SessionRepository, SessionTracking, SessionNotifier, SessionConfiguration, ClassLoader) - Constructor for class com.amadeus.session.SessionManager
-
Constructor.
- SessionNotifier - Interface in com.amadeus.session
-
Implementations of this interface can react on changes of the session
attributes or session state.
- SessionRepository - Interface in com.amadeus.session
-
Implementation of session storage.
- SessionRepository.CommitTransaction - Interface in com.amadeus.session
-
The commit transaction on the session.
- SessionRepositoryFactory - Interface in com.amadeus.session
-
Implementations of this class create instances of
SessionRepository
for the given configuration.
- SessionTracking - Interface in com.amadeus.session
-
A service for extracting session id from request, propagating session into
response or generating new session id.
- set(byte[], byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
See redis.clients.jedis.BinaryJedisCommands#set(byte[], byte[])
- setAllowedCachedSessionReuse(boolean) - Method in class com.amadeus.session.SessionConfiguration
-
Enables or disables sharing of session instances between multiple
concurrent threads.
- setAttribute(String, Object) - Method in class com.amadeus.session.RepositoryBackedSession
-
Binds an object to this session, using the name specified.
- setAttribute(String, Object) - Method in interface com.amadeus.session.RequestWithSession
-
Sets the value of attribute
- setAttribute(String, String) - Method in class com.amadeus.session.SessionConfiguration
-
Sets attribute value.
- setCommitOnAllConcurrent(boolean) - Method in class com.amadeus.session.SessionConfiguration
-
Controls if commit of attributes should be done on all concurrent requests
to session.
- setCommitted(boolean) - Method in class com.amadeus.session.RepositoryBackedSession
-
Sets the flag indicating if session was committed.
- setCreationTime(long) - Method in class com.amadeus.session.SessionData
-
Sets creation time of the session.
- setDelegateWriter(boolean) - Method in class com.amadeus.session.SessionConfiguration
-
- setDistributable(boolean) - Method in class com.amadeus.session.SessionConfiguration
-
Sets whether session can be stored in remote repository.
- setEncryptionKey(String) - Method in class com.amadeus.session.SessionConfiguration
-
Sets encryption key to use.
- setex(byte[], int, byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
See redis.clients.jedis.BinaryJedisCommands#setx(byte[], int, byte[])
- setForceDistributable(boolean) - Method in class com.amadeus.session.SessionConfiguration
-
Sets whether distribution/replication should be used even when web app is
marked as non-distributable.
- setId(String) - Method in class com.amadeus.session.SessionData
-
Sets session id.
- setInterceptListeners(boolean) - Method in class com.amadeus.session.SessionConfiguration
-
- setLastAccessedTime(long) - Method in class com.amadeus.session.SessionData
-
Sets last accessed time of the session.
- setLoggingMdcActive(boolean) - Method in class com.amadeus.session.SessionConfiguration
-
Sets whether session information should be stored in logging systems Mapped
Diagnostic Context (MDC).
- setLoggingMdcKey(String) - Method in class com.amadeus.session.SessionConfiguration
-
Sets key used to store current session id to logging system's Mapped
Diagnostic Context (MDC).
- setMandatoryRemoteKeys(Set<String>) - Method in class com.amadeus.session.SessionData
-
Set keys whose attributes must be directly stored and retrieved from
repository.
- setMaxInactiveInterval(int) - Method in class com.amadeus.session.RepositoryBackedSession
-
Sets inactivity interval before session is invalidated.
- setMaxInactiveInterval(int) - Method in class com.amadeus.session.SessionConfiguration
-
Sets maximum inactivity interval before session expires
- setMaxInactiveInterval(int) - Method in class com.amadeus.session.SessionData
-
Sets maximum inactivity interval before session expires
- setNamespace(String) - Method in class com.amadeus.session.SessionConfiguration
-
Sets namespace of the session.
- setNew(boolean) - Method in class com.amadeus.session.SessionData
-
Sets flag if the session is new or not
- setNewSessionId(String) - Method in class com.amadeus.session.SessionData
-
Sets new session id.
- setNode(String) - Method in class com.amadeus.session.SessionConfiguration
-
Sets id of the node
- setNonCacheable(Set<String>) - Method in class com.amadeus.session.SessionConfiguration
-
Sets set of keys that should not be cached locally.
- setNonCacheable(String) - Method in class com.amadeus.session.SessionConfiguration
-
Sets set of keys that should not be cached locally by extracting keys from
comma-separated list provided as parameter.
- setProviderConfiguration(String) - Method in class com.amadeus.session.SessionConfiguration
-
Sets configuration string for the repository provider.
- setReplicationTrigger(SessionConfiguration.ReplicationTrigger) - Method in class com.amadeus.session.SessionConfiguration
-
Sets strategy used to detect if attribute changed.
- setRepositoryFactory(String) - Method in class com.amadeus.session.SessionConfiguration
-
Sets the class name or the unique identifier of the repository factory.
- setRequestedSessionId(String) - Method in interface com.amadeus.session.RequestWithSession
-
Sets id that has been retrieved from request.
- setSessionAttribute(SessionData, String, Object) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- setSessionAttribute(SessionData, String, Object) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
- setSessionAttribute(SessionData, String, Object) - Method in interface com.amadeus.session.SessionRepository
-
Sets the value of the attribute for the session in the repository.
- setSessionIdName(String) - Method in class com.amadeus.session.SessionConfiguration
-
Sets name of session identifier.
- setSessionManager(SessionManager) - Method in class com.amadeus.session.DefaultSessionFactory
-
- setSessionManager(SessionManager) - Method in class com.amadeus.session.EncryptingSerializerDeserializer
-
- setSessionManager(SessionManager) - Method in class com.amadeus.session.JdkSerializerDeserializer
-
- setSessionManager(SessionManager) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- setSessionManager(SessionManager) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
This method starts a separate thread that listens to key expirations
events.
- setSessionManager(SessionManager) - Method in interface com.amadeus.session.SerializerDeserializer
-
- setSessionManager(SessionManager) - Method in interface com.amadeus.session.SessionFactory
-
- setSessionManager(SessionManager) - Method in interface com.amadeus.session.SessionRepository
-
Links repository with the session management.
- setSessionTracking(String) - Method in class com.amadeus.session.SessionConfiguration
-
Sets class name or unique id of the session tracking.
- setSticky(boolean) - Method in class com.amadeus.session.SessionConfiguration
-
Sets stickiness of sessions.
- setTimestampSufix(boolean) - Method in class com.amadeus.session.SessionConfiguration
-
Add timestamp suffix to session id if set to true.
- setUsingEncryption(boolean) - Method in class com.amadeus.session.SessionConfiguration
-
Sets whether the session data is stored in encrypted form in repository.
- shutdown() - Method in class com.amadeus.session.ExecutorFacade
-
Called to shutdown the executor and finish all submitted tasks.
- ShutdownListener - Class in com.amadeus.session.servlet
-
This listener is responsible for triggering session manager shutdown.
- ShutdownListener() - Constructor for class com.amadeus.session.servlet.ShutdownListener
-
- smembers(byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
See redis.clients.jedis.BinaryJedisCommands#smembers(byte[])
- smembers(byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade.TransactionFacade
-
See redis.clients.jedis.Transaction#smembers(byte[])
- source() - Method in interface com.amadeus.session.SessionConfiguration.AttributeProvider
-
Describes source of attributes.
- spop(byte[], long) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
See redis.clients.jedis.BinaryJedisCommands#spop(byte[], long)
- srem(byte[], byte[]...) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
See redis.clients.jedis.BinaryJedisCommands#srem(byte[], byte[]...)
- startCommit(SessionData) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- startCommit(SessionData) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
- startCommit(SessionData) - Method in interface com.amadeus.session.SessionRepository
-
Starts transaction on remote session.
- startMonitoring(MetricRegistry) - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
Starts monitoring Redis interaction.
- STICKY_SESSIONS - Static variable in class com.amadeus.session.SessionConfiguration
-
Activates sticky session strategy.
- storeSessionData(SessionData) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
-
- storeSessionData(SessionData) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
-
The method stores session metadata in redis and marks session as accessed
(resets session expire instant).
- storeSessionData(SessionData) - Method in interface com.amadeus.session.SessionRepository
-
Stores global session data into repository
- submit(Runnable) - Method in class com.amadeus.session.ExecutorFacade
-
Submits a Runnable task for execution and returns a Future representing
that task.
- submit(String, Runnable) - Method in class com.amadeus.session.SessionManager
-
Executes task in separate thread.
- supportsMultiSpop() - Method in interface com.amadeus.session.repository.redis.RedisFacade
-
Returns true if redis implementation supports SPOP that returns multiple elements (http://redis.io/commands/spop).
- switchSessionId(RepositoryBackedSession) - Method in class com.amadeus.session.SessionManager
-
Changes session id of the passed session.