Class CompositeUser<C,T,D,S>
java.lang.Object
org.wildfly.clustering.session.cache.user.CompositeUser<C,T,D,S>
- Type Parameters:
C- the persistent context typeT- the transient context typeD- the deployment typeS- the session type
- All Implemented Interfaces:
User<C,T, D, S>
A user implementation composed of a context entry and user sessions.
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeUser(String id, Map.Entry<C, T> contextEntry, UserSessions<D, S> sessions, CacheEntryRemover<String> remover) -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns the unique identifier for this user.Returns the persistent context of this user.Returns the sessions for this user.Returns the transient context of this user.voidInvalidates this user and any associated sessions.
-
Constructor Details
-
CompositeUser
public CompositeUser(String id, Map.Entry<C, T> contextEntry, UserSessions<D, S> sessions, CacheEntryRemover<String> remover)
-
-
Method Details