Class SessionManagerNearCacheFactory

java.lang.Object
org.wildfly.clustering.session.infinispan.remote.SessionManagerNearCacheFactory
All Implemented Interfaces:
org.infinispan.client.hotrod.near.NearCacheFactory

public class SessionManagerNearCacheFactory extends Object implements org.infinispan.client.hotrod.near.NearCacheFactory
A near-cache factory based on max-active-sessions.
Author:
Paul Ferraro
  • Constructor Details

    • SessionManagerNearCacheFactory

      public SessionManagerNearCacheFactory(EvictionConfiguration configuration)
      Creates the near cache factory for this session manager.
      Parameters:
      configuration - the eviction configuration
  • Method Details

    • createNearCache

      public <K,V> org.infinispan.client.hotrod.near.NearCache<K,V> createNearCache(org.infinispan.client.hotrod.configuration.NearCacheConfiguration config, BiConsumer<K, org.infinispan.client.hotrod.MetadataValue<V>> removedConsumer)
      Specified by:
      createNearCache in interface org.infinispan.client.hotrod.near.NearCacheFactory