Class SimpleImmutableSession
- java.lang.Object
-
- org.wildfly.clustering.web.cache.session.SimpleImmutableSession
-
- All Implemented Interfaces:
ImmutableSession
public class SimpleImmutableSession extends Object implements ImmutableSession
An immutable "snapshot" of a session which can be accessed outside the scope of a transaction.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description SimpleImmutableSession(ImmutableSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableSessionAttributesgetAttributes()StringgetId()ImmutableSessionMetaDatagetMetaData()booleanisValid()
-
-
-
Constructor Detail
-
SimpleImmutableSession
public SimpleImmutableSession(ImmutableSession session)
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceImmutableSession
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceImmutableSession
-
getMetaData
public ImmutableSessionMetaData getMetaData()
- Specified by:
getMetaDatain interfaceImmutableSession
-
getAttributes
public ImmutableSessionAttributes getAttributes()
- Specified by:
getAttributesin interfaceImmutableSession
-
-