Class 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 Detail

      • SessionManagerNearCacheFactory

        public SessionManagerNearCacheFactory​(Integer maxActiveSessions)
    • Method Detail

      • 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