Interface NearCache<K,V>
-
- All Known Implementing Classes:
NearCacheService
public interface NearCache<K,V>Near cache contract.- Since:
- 7.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()MetadataValue<V>get(K key)voidput(K key, MetadataValue<V> value)voidputIfAbsent(K key, MetadataValue<V> value)booleanremove(K key)intsize()
-
-
-
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()
-
-