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 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()
-
-
-
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()
-
-