Interface NearCache<K,V>
-
- All Superinterfaces:
Iterable<Map.Entry<K,MetadataValue<V>>>
- All Known Implementing Classes:
NearCacheService
public interface NearCache<K,V> extends Iterable<Map.Entry<K,MetadataValue<V>>>
Near cache contract.- Since:
- 7.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
MetadataValue<V>
get(K key)
void
put(K key, MetadataValue<V> value)
void
putIfAbsent(K key, MetadataValue<V> value)
boolean
remove(K key)
int
size()
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
put
void put(K key, MetadataValue<V> value)
-
putIfAbsent
void putIfAbsent(K key, MetadataValue<V> value)
-
remove
boolean remove(K key)
-
get
MetadataValue<V> get(K key)
-
clear
void clear()
-
size
int size()
-
-