Class CoarseSessionAttributes
java.lang.Object
org.wildfly.clustering.web.cache.session.attributes.SimpleImmutableSessionAttributes
org.wildfly.clustering.web.cache.session.attributes.coarse.CoarseSessionAttributes
- All Implemented Interfaces:
AutoCloseable,SessionAttributes,ImmutableSessionAttributes,SessionAttributes
public class CoarseSessionAttributes
extends SimpleImmutableSessionAttributes
implements SessionAttributes
Exposes session attributes for a coarse granularity session.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCoarseSessionAttributes(Map<String, Object> attributes, Mutator mutator, Marshallability marshallability, Immutability immutability, CacheProperties properties, SessionActivationNotifier notifier) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Signals the end of the transient lifecycle of this session, typically triggered at the end of a given request.getAttribute(String name) removeAttribute(String name) setAttribute(String name, Object value) Methods inherited from class org.wildfly.clustering.web.cache.session.attributes.SimpleImmutableSessionAttributes
getAttributeNamesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.web.session.ImmutableSessionAttributes
getAttributeNames
-
Constructor Details
-
CoarseSessionAttributes
public CoarseSessionAttributes(Map<String, Object> attributes, Mutator mutator, Marshallability marshallability, Immutability immutability, CacheProperties properties, SessionActivationNotifier notifier)
-
-
Method Details
-
removeAttribute
- Specified by:
removeAttributein interfaceSessionAttributes
-
setAttribute
- Specified by:
setAttributein interfaceSessionAttributes
-
getAttribute
- Specified by:
getAttributein interfaceImmutableSessionAttributes- Overrides:
getAttributein classSimpleImmutableSessionAttributes
-
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
-