Interface ImmutableSessionAttributesFactory<V>

Type Parameters:
V - attributes cache entry type
All Superinterfaces:
org.wildfly.clustering.cache.CacheEntryLocator<String,V>
All Known Subinterfaces:
SessionAttributesFactory<C,V>

public interface ImmutableSessionAttributesFactory<V> extends org.wildfly.clustering.cache.CacheEntryLocator<String,V>
Factory for creating a map of session attributes.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates an immutable session attributes.

    Methods inherited from interface org.wildfly.clustering.cache.CacheEntryLocator

    findValue, findValueAsync, tryValue, tryValueAsync
  • Method Details

    • createImmutableSessionAttributes

      Map<String,Object> createImmutableSessionAttributes(String id, V value)
      Creates an immutable session attributes.
      Parameters:
      id - the identifier of a session
      value - the session attributes cache entry
      Returns:
      a map of session attributes