Class SessionManagerNearCacheFactory

  • All Implemented Interfaces:
    org.infinispan.client.hotrod.near.NearCacheFactory

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

      • SessionManagerNearCacheFactory

        public SessionManagerNearCacheFactory​(Integer maxActiveSessions,
                                              org.wildfly.clustering.web.session.SessionAttributePersistenceStrategy strategy)
    • Method Detail

      • createNearCache

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