Class SessionManagerNearCacheFactory
- java.lang.Object
-
- org.wildfly.clustering.web.hotrod.session.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 Summary
Constructors Constructor Description SessionManagerNearCacheFactory(Integer maxActiveSessions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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)
-
-
-
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:
createNearCachein interfaceorg.infinispan.client.hotrod.near.NearCacheFactory
-
-