Class SimpleImmutableSession
java.lang.Object
org.wildfly.clustering.session.cache.AbstractImmutableSession
org.wildfly.clustering.session.cache.SimpleImmutableSession
- All Implemented Interfaces:
ImmutableSession
An immutable "snapshot" of a session which can be accessed outside the scope of a transaction.
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns this session's attributes.Returns this session's meta data.booleanisValid()Indicates whether or not this session is valid.Methods inherited from class org.wildfly.clustering.session.cache.AbstractImmutableSession
equals, getId, hashCode, toString
-
Constructor Details
-
SimpleImmutableSession
-
-
Method Details
-
isValid
public boolean isValid()Description copied from interface:ImmutableSessionIndicates whether or not this session is valid.- Returns:
- true, if this session is valid, false otherwise
-
getMetaData
Description copied from interface:ImmutableSessionReturns this session's meta data.- Returns:
- this session's meta data
-
getAttributes
Description copied from interface:ImmutableSessionReturns this session's attributes.- Returns:
- this session's attributes
-