public class SessionManagerNearCacheFactory<K,V> extends Object implements NearCacheFactory<K,V>, Supplier<com.github.benmanes.caffeine.cache.Cache<K,org.infinispan.client.hotrod.MetadataValue<V>>>, com.github.benmanes.caffeine.cache.RemovalListener<Object,Object>
| Constructor and Description |
|---|
SessionManagerNearCacheFactory(Integer maxActiveSessions,
org.wildfly.clustering.web.session.SessionAttributePersistenceStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
org.infinispan.client.hotrod.near.NearCacheService<K,V> |
createService(org.infinispan.client.hotrod.event.impl.ClientListenerNotifier notifier) |
com.github.benmanes.caffeine.cache.Cache<K,org.infinispan.client.hotrod.MetadataValue<V>> |
get() |
org.infinispan.client.hotrod.configuration.NearCacheMode |
getMode() |
void |
onRemoval(Object key,
Object value,
com.github.benmanes.caffeine.cache.RemovalCause cause) |
public SessionManagerNearCacheFactory(Integer maxActiveSessions, org.wildfly.clustering.web.session.SessionAttributePersistenceStrategy strategy)
public org.infinispan.client.hotrod.near.NearCacheService<K,V> createService(org.infinispan.client.hotrod.event.impl.ClientListenerNotifier notifier)
createService in interface NearCacheFactory<K,V>public org.infinispan.client.hotrod.configuration.NearCacheMode getMode()
getMode in interface NearCacheFactory<K,V>public com.github.benmanes.caffeine.cache.Cache<K,org.infinispan.client.hotrod.MetadataValue<V>> get()
Copyright © 2021 JBoss by Red Hat. All rights reserved.