Skip navigation links
A B C D E F G H I J L M N O P R S T U V W Z 

A

AbstractRedisSessionRepositoryFactory - Class in com.amadeus.session.repository.redis
 
AbstractRedisSessionRepositoryFactory() - Constructor for class com.amadeus.session.repository.redis.AbstractRedisSessionRepositoryFactory
 
addAttribute(String, Object) - Method in interface com.amadeus.session.SessionRepository.CommitTransaction
The passed attribute will be added (or changed) to the repository.
attributeAdded(RepositoryBackedSession, String, Object) - Method in interface com.amadeus.session.SessionNotifier
Invoked when an attribute is added to session.
attributeBeingStored(RepositoryBackedSession, String, Object) - Method in interface com.amadeus.session.SessionNotifier
Invoked when an attribute is being stored in repository.
attributeHasBeenRestored(RepositoryBackedSession, String, Object) - Method in interface com.amadeus.session.SessionNotifier
Invoked when an attribute has been retrieved from repository.
attributeRemoved(RepositoryBackedSession, String, Object) - Method in interface com.amadeus.session.SessionNotifier
Invoked when an attribute is removed from the session.
attributeReplaced(RepositoryBackedSession, String, Object) - Method in interface com.amadeus.session.SessionNotifier
Invoked when an attribute value is replaced with a new one in the session.
attrs - Variable in class com.amadeus.session.RepositoryBackedSession
Each attribute that was get from repository, removed or set during request is stored in this map.

B

BaseSessionTracking - Class in com.amadeus.session.servlet
This base class for session ID tracking that can be configured via ServletContext.
BaseSessionTracking() - Constructor for class com.amadeus.session.servlet.BaseSessionTracking
 
build(SessionData) - Method in class com.amadeus.session.DefaultSessionFactory
 
build(SessionData) - Method in interface com.amadeus.session.SessionFactory
Builds instance of session based on passed SessionData.

C

clean(String) - Method in class com.amadeus.session.servlet.BaseSessionTracking
Returns cleaned value of the session or null if cookie value has invalid id format.
cleanSessionsOnShutdown() - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
 
cleanSessionsOnShutdown() - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
 
cleanSessionsOnShutdown() - Method in interface com.amadeus.session.SessionRepository
If repository supports cleaning of sessions on application shutdown, it should return true from this method.
close() - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
 
close() - Method in interface com.amadeus.session.repository.redis.RedisFacade
Closes connections to redis.
close() - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
 
close() - Method in class com.amadeus.session.SessionManager
Called to shutdown the session manager and perform needed cleanup.
close() - Method in interface com.amadeus.session.SessionRepository
Called to shutdown the repository and release resources.
com.amadeus.session - package com.amadeus.session
Contains classes that provide generic session management including remote storage.
com.amadeus.session.repository.inmemory - package com.amadeus.session.repository.inmemory
Implements in-memory session repository.
com.amadeus.session.repository.redis - package com.amadeus.session.repository.redis
Implements Redis based session repository.
com.amadeus.session.servlet - package com.amadeus.session.servlet
Contains classes that provide replacement for servlet container's HttpSession behavior.
commit() - Method in class com.amadeus.session.RepositoryBackedSession
Stores session to session repository.
commit() - Method in interface com.amadeus.session.SessionRepository.CommitTransaction
Executes all SessionRepository.CommitTransaction.addAttribute(String, Object) and SessionRepository.CommitTransaction.removeAttribute(String) requests and performs all necessary housekeeping when committing the session to the repository.
COMMIT_ON_ALL_CONCURRENT - Static variable in class com.amadeus.session.SessionConfiguration
Specifies if commit should be done on all concurrent requests to session.
commitRequest(ServletRequest, ServletRequest) - Method in class com.amadeus.session.servlet.SessionHelpers
Commits request and stores session in repository.
commitRequest(ServletRequest, ServletRequest, ServletContext) - Static method in class com.amadeus.session.servlet.SessionHelpersFacade
Commits request and stores session in repository.
committed(RepositoryBackedSession) - Method in class com.amadeus.session.DefaultSessionFactory
Called by each session when it is committed.
committed() - Method in class com.amadeus.session.RepositoryBackedSession
Called when the session was committed.
committed(RepositoryBackedSession) - Method in interface com.amadeus.session.SessionFactory
Called by each session when it is committed.
configuration - Variable in class com.amadeus.session.SessionManager
 
configure(SessionConfiguration) - Method in class com.amadeus.session.RandomIdProvider
 
configure(SessionConfiguration) - Method in class com.amadeus.session.servlet.BaseSessionTracking
 
configure(SessionConfiguration) - Method in class com.amadeus.session.servlet.UrlSessionTracking
 
configure(SessionConfiguration) - Method in interface com.amadeus.session.SessionIdProvider
Configures session id provider.
configure(SessionConfiguration) - Method in interface com.amadeus.session.SessionTracking
Configures tracking.
configure(SessionConfiguration) - Method in class com.amadeus.session.UuidProvider
 
contextDestroyed(ServletContextEvent) - Method in class com.amadeus.session.servlet.ShutdownListener
 
contextInitialized(ServletContextEvent) - Method in class com.amadeus.session.servlet.ShutdownListener
 

D

DEFAULT_REDIS_MASTER_NAME - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
Default name for redis master when using sentinel mode.
DEFAULT_REDIS_POOL_SIZE - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
Default size of the redis pool.
DEFAULT_REDIS_TIMEOUT - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
Default redis timeout.
DEFAULT_REPLICATION_TRIGGER - Static variable in class com.amadeus.session.SessionConfiguration
Default strategy for detecting that attribute changed.
DEFAULT_SESSION_ID_LENGTH - Static variable in class com.amadeus.session.SessionConfiguration
Default session id length when using RandomIdProvider is 30 bytes.
DEFAULT_SESSION_ID_NAME - Static variable in class com.amadeus.session.SessionConfiguration
Default name for the cookie or URL element.
DEFAULT_SESSION_NAMESPACE - Static variable in class com.amadeus.session.SessionConfiguration
Default session namespace is default
DEFAULT_SESSION_TIMEOUT - Static variable in class com.amadeus.session.SessionConfiguration
Default session timeout in seconds.
DEFAULT_SESSION_TIMEOUT_VALUE_NUM - Static variable in class com.amadeus.session.SessionConfiguration
Default session timeout is 30 minutes.
DEFAULT_SESSION_TIMESTAMP - Static variable in class com.amadeus.session.SessionConfiguration
Default session timestamp is false
DEFAULT_STICKY_SESSIONS - Static variable in class com.amadeus.session.SessionConfiguration
By default, sessions are sticky.
DefaultSessionFactory - Class in com.amadeus.session
The implementation of SessionFactory that allows creation of generic sessions.
DefaultSessionFactory() - Constructor for class com.amadeus.session.DefaultSessionFactory
 
del(byte[]...) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#del(byte[]...)
del(byte[]...) - Method in interface com.amadeus.session.repository.redis.RedisFacade.TransactionFacade
See redis.clients.jedis.Transaction#del(byte[]...)
DELEGATE_WRITER - Static variable in class com.amadeus.session.SessionConfiguration
Set to true if session should delegate PrintWriter implementation to container.
delete(String, boolean) - Method in class com.amadeus.session.SessionManager
Deletes session from repository and performs orderly cleanup.
deleteAsync(String, boolean) - Method in class com.amadeus.session.SessionManager
Deletes list of sessions.
deserialize(byte[]) - Method in class com.amadeus.session.EncryptingSerializerDeserializer
 
deserialize(byte[]) - Method in class com.amadeus.session.JdkSerializerDeserializer
 
deserialize(byte[]) - Method in interface com.amadeus.session.SerializerDeserializer
Deserializes object from byte array
destroy() - Method in class com.amadeus.session.servlet.SessionFilter
No specific processing is done when this filter is being taken out of service.
DISABLED_SESSION - Static variable in class com.amadeus.session.SessionConfiguration
ServletContext parameter or system property disabled session management.
DISTRIBUTABLE_SESSION - Static variable in class com.amadeus.session.SessionConfiguration
Indicates if sessions can be distributed or not.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.amadeus.session.servlet.SessionFilter
Implements wrapping of HTTP request and enables handling of sessions based on repository.
doInvalidate(boolean) - Method in class com.amadeus.session.RepositoryBackedSession
This method performs invalidation of the session.

E

encode(String) - Static method in class com.amadeus.session.repository.redis.SafeEncoder
Encodes string in byte array using UTF-8.
encode(byte[]) - Static method in class com.amadeus.session.repository.redis.SafeEncoder
Encodes string from byte array using UTF-8.
encode(byte[], int, int) - Static method in class com.amadeus.session.repository.redis.SafeEncoder
 
encodeUrl(RequestWithSession, String) - Method in class com.amadeus.session.servlet.BaseSessionTracking
 
encodeUrl(RequestWithSession, String) - Method in class com.amadeus.session.servlet.UrlSessionTracking
 
encodeUrl(RequestWithSession, String) - Method in class com.amadeus.session.SessionManager
Called to encode URL based on session tracking.
encodeUrl(RequestWithSession, String) - Method in interface com.amadeus.session.SessionTracking
Encodes passed URL adding session if needed.
EncryptingSerializerDeserializer - Class in com.amadeus.session
Encrypts and decrypts session data before storing it in session repository.
EncryptingSerializerDeserializer() - Constructor for class com.amadeus.session.EncryptingSerializerDeserializer
Default constructor wraps JdkSerializerDeserializer instance.
EncryptingSerializerDeserializer(SerializerDeserializer) - Constructor for class com.amadeus.session.EncryptingSerializerDeserializer
Constructor that allows wrapping arbitrary SerializerDeserializer instance.
equals(Object) - Method in class com.amadeus.session.SessionData
 
ExecutorFacade - Class in com.amadeus.session
Support class that provides methods for launching and scheduling of tasks.
ExecutorFacade(SessionConfiguration) - Constructor for class com.amadeus.session.ExecutorFacade
Default constructor
executors - Variable in class com.amadeus.session.SessionManager
 
exists(byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#exists(byte[])
ExpirationStrategy - Enum in com.amadeus.session.repository.redis
Strategy used to detect expired sessions.
expire(byte[], int) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#expire(byte[], int)
expireAt(byte[], long) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#expireAt(byte[], long)
expiresAt() - Method in class com.amadeus.session.SessionData
Returns instant when the session expires.

F

factory - Variable in class com.amadeus.session.SessionManager
 
FORCE_DISTRIBUTABLE - Static variable in class com.amadeus.session.SessionConfiguration
Non-distributable web apps will be treated as distributable if this parameter is set to true.

G

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
Configuration for this 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
Returns SessionNotifier used by this instance.
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
Returns SessionRepository used by this instance.
getRepositoryBackedSession(boolean) - Method in interface com.amadeus.session.RequestWithSession
Returns the RepositoryBackedSession associated with this request.
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
Returns descriptor of this session (see SessionData).
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
Returns SessionManager associated to this http session.
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).

H

hashCode() - Method in class com.amadeus.session.SessionData
 
hdel(byte[], byte[]...) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#hdel(byte[], byte[]...)
hdel(byte[], byte[]...) - Method in interface com.amadeus.session.repository.redis.RedisFacade.TransactionFacade
See redis.clients.jedis.Transaction#hdel(byte[], byte[]...)
hkeys(byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#hkeys(byte[])
hmget(byte[], byte[]...) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#hmget(byte[], byte[]...)
hmset(byte[], Map<byte[], byte[]>) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#hmset(byte[], Map)
hmset(byte[], Map<byte[], byte[]>) - Method in interface com.amadeus.session.repository.redis.RedisFacade.TransactionFacade
See redis.clients.jedis.Transaction#hmset(byte[], Map)
hostsAndPorts() - Method in class com.amadeus.session.repository.redis.RedisConfiguration
Utility method to extract host and port from configuration.
hset(byte[], byte[], byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#hset(byte[], byte[], byte[])
hsetnx(byte[], byte[], byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#hsetnx(byte[], byte[], byte[])

I

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
Called by RepositoryBackedSession when a conflict occurs during invalidation of session.
invokeCommit(RepositoryBackedSession) - Method in class com.amadeus.session.SessionManager
Calls RepositoryBackedSession.Committer for the passed RepositoryBackedSession and measures time of execution.
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.

J

JdkSerializerDeserializer - Class in com.amadeus.session
Default serialization/deserialization logic uses JDK serialization to convert objects to/from byte arrays.
JdkSerializerDeserializer() - Constructor for class com.amadeus.session.JdkSerializerDeserializer
 
JedisSessionRepositoryFactory - Class in com.amadeus.session.repository.redis
Redis configuration is provided as a comma separated list with following parameters: pool maximum size of pool.
JedisSessionRepositoryFactory() - Constructor for class com.amadeus.session.repository.redis.JedisSessionRepositoryFactory
 

L

link(Object) - Method in interface com.amadeus.session.repository.redis.RedisFacade.RedisPubSub
Links with underlying PubSub listener implementation.
LOG_MDC_SESSION_ENABLED - Static variable in class com.amadeus.session.SessionConfiguration
Is session id stored in logging MDC.
LOG_MDC_SESSION_NAME - Static variable in class com.amadeus.session.SessionConfiguration
The name of the logging MDC attribute where session id is stored.
LOGGING_MDC_DEFAULT_KEY - Static variable in class com.amadeus.session.SessionConfiguration
Default key used to store session id in logging system's MDC.

M

manager - Variable in class com.amadeus.session.RepositoryBackedSession
 
METRIC_PREFIX - Static variable in class com.amadeus.session.repository.redis.RedisConfiguration
Standard prefix for metrics.

N

newId() - Method in class com.amadeus.session.RandomIdProvider
 
newId() - Method in class com.amadeus.session.servlet.BaseSessionTracking
 
newId() - Method in interface com.amadeus.session.SessionIdProvider
Generates new session id.
newId() - Method in interface com.amadeus.session.SessionTracking
Generates new session id.
newId() - Method in class com.amadeus.session.UuidProvider
 
newSessionObject(SessionData) - Method in class com.amadeus.session.DefaultSessionFactory
Creates new memory representation of session based on session data.
newThread(Runnable) - Method in class com.amadeus.session.ExecutorFacade
This method creates new thread from pool and add namespace to the thread name.
NODE_ID - Static variable in class com.amadeus.session.SessionConfiguration
System property containing the id of node.
NON_CACHEABLE_ATTRIBUTES - Static variable in class com.amadeus.session.SessionConfiguration
List of attributes that must be retrieved from repository (i.e.
notifier - Variable in class com.amadeus.session.SessionManager
 

O

onAddListener(ServletContext, Object) - Method in class com.amadeus.session.servlet.SessionHelpers
This method is used by injected code to register listeners for ServletContext.
onAddListener(Object, Object) - Static method in class com.amadeus.session.servlet.SessionHelpersFacade
This method is used by injected code to register listeners for ServletContext.
onPMessage(byte[], byte[], byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade.RedisPubSub
 
onStartup(Set<Class<?>>, ServletContext) - Method in class com.amadeus.session.servlet.InitializeSessionManagement
 

P

persist(byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#persist(byte[])
prepareRemove(SessionData) - Method in class com.amadeus.session.repository.inmemory.InMemoryRepository
 
prepareRemove(SessionData) - Method in class com.amadeus.session.repository.redis.RedisSessionRepository
 
prepareRemove(SessionData) - Method in interface com.amadeus.session.SessionRepository
Prepares session repository for removal of session.
prepareRequest(ServletRequest, ServletResponse, ServletContext) - Method in class com.amadeus.session.servlet.SessionHelpers
This method is called from SessionFilter or from Filter implementations modified by SessionAgent.
prepareRequest(ServletRequest, ServletResponse, ServletContext) - Static method in class com.amadeus.session.servlet.SessionHelpersFacade
This method is called from SessionFilter or from Filter implementations modified by SessionAgent.
prepareResponse(ServletRequest, ServletResponse) - Method in class com.amadeus.session.servlet.SessionHelpers
This method is called from SessionFilter or from Filter implementations modified by SessionAgent.
prepareResponse(ServletRequest, ServletResponse, ServletContext) - Static method in class com.amadeus.session.servlet.SessionHelpersFacade
This method is called from SessionFilter or from Filter implementations modified by SessionAgent.
propagateSession(RequestWithSession, Object) - Method in class com.amadeus.session.servlet.UrlSessionTracking
 
propagateSession(RequestWithSession, ResponseWithSessionId) - Method in class com.amadeus.session.SessionManager
Propagates the session id to the response.
propagateSession(RequestWithSession, Object) - Method in interface com.amadeus.session.SessionTracking
Propagates session to client.
PROVIDER_CONFIGURATION - Static variable in class com.amadeus.session.SessionConfiguration
ServletContext parameter or system property containing the configuration for the SessionRepository.
psubscribe(RedisFacade.RedisPubSub, String) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See BinaryJedisCommands#psubscribe(BinaryJedisPubSub, byte[]...)
publish(byte[], byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#publish(byte[], byte[])
punsubscribe(RedisFacade.RedisPubSub, byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See BinaryJedisPubSub#punsubscribe(byte[]...)

R

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
ServletContext parameter or system property containing the name of SessionRepositoryFactory implementation.
RepositoryBackedSession - Class in com.amadeus.session
Session that can be stored in repository.
RepositoryBackedSession(SessionData, SessionManager, SessionFactory) - Constructor for class com.amadeus.session.RepositoryBackedSession
Creates session based on given SessionData using SessionManager to manage lifecycle of session.
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.

S

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
Schedules the tasks to execute with a ScheduledExecutorService with the specified period.
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
Attribute provider can be used via call to SessionConfiguration.initializeFrom(AttributeProvider) to set up SessionConfiguration.
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
Implementations of this interface produce RepositoryBackedSession instances based on passed SessionData.
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
Allows associating this instance with a SessionManager.
setSessionManager(SessionManager) - Method in interface com.amadeus.session.SessionFactory
Callback to associated SessionManager with this instance of factory.
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.

T

toString() - Method in class com.amadeus.session.repository.redis.RedisConfiguration
 
toString() - Method in class com.amadeus.session.SessionConfiguration
 
toString() - Method in class com.amadeus.session.SessionData
 
toString() - Method in class com.amadeus.session.SessionManager
 
tracking - Variable in class com.amadeus.session.SessionManager
 
transaction(byte[], RedisFacade.TransactionRunner<T>) - Method in interface com.amadeus.session.repository.redis.RedisFacade
Executes redis transaction associated to a key.

U

uncaughtException(Thread, Throwable) - Method in class com.amadeus.session.ExecutorFacade
The method will log uncaught exceptions that occurred during thread execution.
UrlSessionTracking - Class in com.amadeus.session.servlet
This class propagates session id using URL re-writing.
UrlSessionTracking() - Constructor for class com.amadeus.session.servlet.UrlSessionTracking
 
UuidProvider - Class in com.amadeus.session
This class generates session id based on UUID.
UuidProvider() - Constructor for class com.amadeus.session.UuidProvider
 

V

validate(String) - Static method in enum com.amadeus.session.SessionConfiguration.ReplicationTrigger
Checks passed value against allowed values in enumeration.
valueOf(String) - Static method in enum com.amadeus.session.repository.redis.ExpirationStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.amadeus.session.SessionConfiguration.ReplicationTrigger
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.amadeus.session.repository.redis.ExpirationStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.amadeus.session.SessionConfiguration.ReplicationTrigger
Returns an array containing the constants of this enum type, in the order they are declared.

W

WrappedException - Exception in com.amadeus.session
This class is used to wrap checked exceptions.
WrappedException(Exception) - Constructor for exception com.amadeus.session.WrappedException
Default constructor.
wrapSession(RepositoryBackedSession) - Method in class com.amadeus.session.DefaultSessionFactory
Wraps old session object into a new one.

Z

zadd(byte[], double, byte[]) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#zadd(byte[], byte[]...)
zrange(byte[], long, long) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#zrange(byte[], long, long)
zrangeByScore(byte[], double, double) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#zrangeByScore(byte[], double, double)
zrem(byte[], byte[]...) - Method in interface com.amadeus.session.repository.redis.RedisFacade
See redis.clients.jedis.BinaryJedisCommands#zrem(byte[], byte[]...)
A B C D E F G H I J L M N O P R S T U V W Z 
Skip navigation links

Copyright © 2018 Amadeus s.a.s.. All rights reserved.