Interface ImmutableSessionMetaDataFactory<V>

Type Parameters:
V - the cache value type
All Superinterfaces:
org.wildfly.clustering.cache.CacheEntryLocator<String,V>
All Known Subinterfaces:
SessionMetaDataFactory<V>

public interface ImmutableSessionMetaDataFactory<V> extends org.wildfly.clustering.cache.CacheEntryLocator<String,V>
Factory for immutable session metadata.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    org.wildfly.clustering.session.ImmutableSessionMetaData
    Creates immutable session metadata for the specified identifier and cache entry.

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

    findValue, findValueAsync, tryValue, tryValueAsync
  • Method Details

    • createImmutableSessionMetaData

      org.wildfly.clustering.session.ImmutableSessionMetaData createImmutableSessionMetaData(String id, V value)
      Creates immutable session metadata for the specified identifier and cache entry.
      Parameters:
      id - the identifier of a session
      value - the cache value of the session
      Returns:
      immutable session metadata for the specified identifier and cache entry.