Class UserContextEntry<C,T>
java.lang.Object
org.wildfly.clustering.session.cache.user.UserContextEntry<C,T>
- Type Parameters:
C- the persistent user context typeT- the transient user context type
- All Implemented Interfaces:
UserContext<C,T>
Cache entry that stores persistent and transient user context.
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the persistent context of the associated user.Returns the transient context of the associated user.
-
Constructor Details
-
UserContextEntry
Creates a user context entry.- Parameters:
persistentContext- the persistent context of the associated user
-
-
Method Details
-
getPersistentContext
Description copied from interface:UserContextReturns the persistent context of the associated user.- Specified by:
getPersistentContextin interfaceUserContext<C,T> - Returns:
- the persistent context of the associated user.
-
getTransientContext
Description copied from interface:UserContextReturns the transient context of the associated user.- Specified by:
getTransientContextin interfaceUserContext<C,T> - Returns:
- the transient context of the associated user.
-