Interface ImmutableSessionMetaDataFactory<V>

Type Parameters:
V - the cache value type
All Superinterfaces:
CacheEntryLocator<String,V>
All Known Subinterfaces:
SessionMetaDataFactory<V>
All Known Implementing Classes:
HotRodSessionMetaDataFactory, InfinispanSessionMetaDataFactory

public interface ImmutableSessionMetaDataFactory<V> extends CacheEntryLocator<String,V>
Factory for immutable session metadata.
Author:
Paul Ferraro
  • Method Details

    • createImmutableSessionMetaData

      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.