Class CoarseSessionAttributes
- java.lang.Object
-
- org.wildfly.clustering.web.cache.session.coarse.CoarseImmutableSessionAttributes
-
- org.wildfly.clustering.web.cache.session.coarse.CoarseSessionAttributes
-
- All Implemented Interfaces:
AutoCloseable,SessionAttributes,ImmutableSessionAttributes,SessionAttributes
public class CoarseSessionAttributes extends CoarseImmutableSessionAttributes implements SessionAttributes
Exposes session attributes for a coarse granularity session.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CoarseSessionAttributes(Map<String,Object> attributes, org.wildfly.clustering.ee.Mutator mutator, org.wildfly.clustering.marshalling.spi.Marshallability marshallability, org.wildfly.clustering.ee.Immutability immutability, CacheProperties properties, SessionActivationNotifier notifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Signals the end of the transient lifecycle of this session, typically triggered at the end of a given request.ObjectgetAttribute(String name)ObjectremoveAttribute(String name)ObjectsetAttribute(String name, Object value)-
Methods inherited from class org.wildfly.clustering.web.cache.session.coarse.CoarseImmutableSessionAttributes
getAttributeNames
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.web.session.ImmutableSessionAttributes
getAttributeNames
-
-
-
-
Constructor Detail
-
CoarseSessionAttributes
public CoarseSessionAttributes(Map<String,Object> attributes, org.wildfly.clustering.ee.Mutator mutator, org.wildfly.clustering.marshalling.spi.Marshallability marshallability, org.wildfly.clustering.ee.Immutability immutability, CacheProperties properties, SessionActivationNotifier notifier)
-
-
Method Detail
-
removeAttribute
public Object removeAttribute(String name)
- Specified by:
removeAttributein interfaceSessionAttributes
-
setAttribute
public Object setAttribute(String name, Object value)
- Specified by:
setAttributein interfaceSessionAttributes
-
getAttribute
public Object getAttribute(String name)
- Specified by:
getAttributein interfaceImmutableSessionAttributes- Overrides:
getAttributein classCoarseImmutableSessionAttributes
-
close
public void close()
Description copied from interface:SessionAttributesSignals the end of the transient lifecycle of this session, typically triggered at the end of a given request.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSessionAttributes
-
-