public class CaffeineNearCache<K,V> extends Object
NearCache is package protected.
To be refactored into org.wildfly.clustering.infinispan.client.near package once Infinispan increases visibility of NearCache.| Constructor and Description |
|---|
CaffeineNearCache(com.github.benmanes.caffeine.cache.Cache<K,org.infinispan.client.hotrod.MetadataValue<V>> cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.infinispan.client.hotrod.MetadataValue<V> |
get(K key) |
void |
put(K key,
org.infinispan.client.hotrod.MetadataValue<V> value) |
void |
putIfAbsent(K key,
org.infinispan.client.hotrod.MetadataValue<V> value) |
boolean |
remove(K key) |
int |
size() |
public boolean remove(K key)
public void clear()
public int size()
Copyright © 2019 JBoss by Red Hat. All rights reserved.