public class SessionManagerNearCacheFactory<K,V> extends Object implements Function<org.infinispan.client.hotrod.event.impl.ClientListenerNotifier,NearCacheService<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 |
|---|---|
NearCacheService<K,V> |
apply(org.infinispan.client.hotrod.event.impl.ClientListenerNotifier notifier) |
com.github.benmanes.caffeine.cache.Cache<K,org.infinispan.client.hotrod.MetadataValue<V>> |
get() |
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 NearCacheService<K,V> apply(org.infinispan.client.hotrod.event.impl.ClientListenerNotifier notifier)
apply in interface Function<org.infinispan.client.hotrod.event.impl.ClientListenerNotifier,NearCacheService<K,V>>public com.github.benmanes.caffeine.cache.Cache<K,org.infinispan.client.hotrod.MetadataValue<V>> get()
Copyright © 2019 JBoss by Red Hat. All rights reserved.