Class CaffeineNearCacheService<K,V>
- java.lang.Object
-
- org.infinispan.client.hotrod.near.NearCacheService<K,V>
-
- org.wildfly.clustering.infinispan.client.near.CaffeineNearCacheService<K,V>
-
- All Implemented Interfaces:
Iterable<Map.Entry<K,org.infinispan.client.hotrod.MetadataValue<V>>>,org.infinispan.client.hotrod.near.NearCache<K,V>
public class CaffeineNearCacheService<K,V> extends org.infinispan.client.hotrod.near.NearCacheService<K,V>Near cache service that constructs its near cache using a generic factory.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CaffeineNearCacheService(Supplier<com.github.benmanes.caffeine.cache.Cache<K,org.infinispan.client.hotrod.MetadataValue<V>>> factory, org.infinispan.client.hotrod.event.impl.ClientListenerNotifier listenerNotifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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)-
Methods inherited from class org.infinispan.client.hotrod.near.NearCacheService
calculateBloomBits, clear, create, get, getBloomFilterBits, getListenerId, iterator, put, putIfAbsent, remove, setInvalidationCallback, size, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
createNearCache
protected 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)
-
-