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:
AutoCloseable, org.wildfly.clustering.session.user.User<C,T, D, S>
public class CompositeUser<C,T,D,S>
extends Object
implements org.wildfly.clustering.session.user.User<C,T,D,S>
A user implementation composed of a context entry and user sessions.
-
Constructor Details
-
CompositeUser
public CompositeUser(String id, Map.Entry<C, T> contextEntry, org.wildfly.clustering.session.user.UserSessions<D, S> sessions, org.wildfly.clustering.cache.CacheEntryRemover<String> remover) A user composed of a context entry and user sessions.- Parameters:
id- the identifier of the usercontextEntry- a content entrysessions- the session associated with the userremover- a remover for the user
-
-
Method Details
-
getId
-
getPersistentContext
-
getSessions
-
isValid
-
invalidate
-
getTransientContext
-