Class DecoratedUser<C,T,D,S>
java.lang.Object
org.wildfly.clustering.session.cache.user.DecoratedUser<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,Supplier<User<C,,T, D, S>> User<C,T, D, S>
- Direct Known Subclasses:
CachedUser
public class DecoratedUser<C,T,D,S>
extends Object
implements User<C,T,D,S>, Supplier<User<C,T,D,S>>
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanget()getId()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.inthashCode()voidInvalidates this user and any associated sessions.booleanisValid()Returns true unless this user was invalidated.toString()
-
Constructor Details
-
DecoratedUser
-
-
Method Details
-
get
-
getId
Description copied from interface:UserReturns the unique identifier for this user. -
getPersistentContext
Description copied from interface:UserReturns the persistent context of this user. -
getTransientContext
Description copied from interface:UserReturns the transient context of this user. -
getSessions
Description copied from interface:UserReturns the sessions for this user. -
isValid
public boolean isValid()Description copied from interface:UserReturns true unless this user was invalidated. -
invalidate
public void invalidate()Description copied from interface:UserInvalidates this user and any associated sessions. -
close
public void close() -
hashCode
public int hashCode() -
equals
-
toString
-