Class FineSessionAttributes<K,V>

java.lang.Object
org.wildfly.clustering.session.cache.attributes.AbstractSessionAttributes
org.wildfly.clustering.session.cache.attributes.fine.FineSessionAttributes<K,V>
Type Parameters:
K - the cache key type
V - the cache value type
All Implemented Interfaces:
AutoCloseable, Map<String,Object>, SessionAttributes

public class FineSessionAttributes<K,V> extends AbstractSessionAttributes
Exposes session attributes for a fine granularity sessions.
Author:
Paul Ferraro
  • Constructor Details

    • FineSessionAttributes

      public FineSessionAttributes(K key, Map<String,Object> attributes, CacheEntryMutatorFactory<K, Map<String,V>> mutatorFactory, Marshaller<Object,V> marshaller, Predicate<Object> immutable, CacheProperties properties, SessionAttributeActivationNotifier notifier)
      Creates a fine-granularity session attributes implementation.
      Parameters:
      key - the session attributes cache key
      attributes - a map of session attributes
      mutatorFactory - a factory for creating a mutator of the session attributes cache entry
      marshaller - a marshaller of session attributes
      immutable - a predicate used to determine whether a given session attribute is immutable
      properties - the properties of the associated cache
      notifier - a notifier of session attribute activation/passivation
  • Method Details