- All Superinterfaces:
Iterable<org.infinispan.api.common.CacheEntry<K,V>>
- All Known Implementing Classes:
NearCacheService
public interface NearCache<K,V>
extends Iterable<org.infinispan.api.common.CacheEntry<K,V>>
Near cache contract.
- Since:
- 14.0
-
Method Summary
void
org.infinispan.api.common.CacheEntry<K,V>
boolean
boolean
boolean
remove(K key,
org.infinispan.api.common.CacheEntry<K,V> entry)
boolean
replace(K key,
org.infinispan.api.common.CacheEntry<K,V> prevValue,
org.infinispan.api.common.CacheEntry<K,V> newValue)
int
-
Method Details
-
putIfAbsent
boolean putIfAbsent(K key,
org.infinispan.api.common.CacheEntry<K,V> entry)
-
replace
boolean replace(K key,
org.infinispan.api.common.CacheEntry<K,V> prevValue,
org.infinispan.api.common.CacheEntry<K,V> newValue)
-
-
remove
boolean remove(K key,
org.infinispan.api.common.CacheEntry<K,V> entry)
-
get
org.infinispan.api.common.CacheEntry<K,V> get(K key)
-
-