Class CoarseSessionAttributes
java.lang.Object
org.wildfly.clustering.session.cache.attributes.AbstractSessionAttributes
org.wildfly.clustering.session.cache.attributes.coarse.CoarseSessionAttributes
- All Implemented Interfaces:
AutoCloseable, Map<String,Object>, SessionAttributes
Exposes session attributes for a coarse granularity session.
- Author:
- Paul Ferraro
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCoarseSessionAttributes(Map<String, Object> attributes, Runnable mutator, Predicate<Object> marshallable, Predicate<Object> immutable, SessionActivationNotifier notifier) Creates a coarse-granularity session attributes object. -
Method Summary
Methods inherited from class AbstractSessionAttributes
entrySet, keySet, valuesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface SessionAttributes
clear, containsKey, containsValue, isEmpty, put, putAll, size
-
Constructor Details
-
CoarseSessionAttributes
public CoarseSessionAttributes(Map<String, Object> attributes, Runnable mutator, Predicate<Object> marshallable, Predicate<Object> immutable, SessionActivationNotifier notifier) Creates a coarse-granularity session attributes object.- Parameters:
attributes- a map of session attributesmutator- a mutator for associated cache entry.marshallable- a predicate used to determine whether a given session attribute is marshallable.immutable- a predicate used to determine whether a given session attribute is immutable.notifier- a notifier of session activation/passivation
-
-
Method Details
-
remove
-
put
-
get
-
close
public void close()
-