NearCache is the contract point to store keys and values in underlying com.hazelcast.cache.impl.nearcache.NearCacheRecordStore.
More...
#include <NearCache.h>
template<typename K, typename V>
class hazelcast::client::internal::nearcache::NearCache< K, V >
NearCache is the contract point to store keys and values in underlying com.hazelcast.cache.impl.nearcache.NearCacheRecordStore.
- Parameters
-
<K> | the type of the key |
<V> | the type of the value |
This is a no-op interface class. See InvalidationAwareNearCache for the actual implementation
◆ get()
template<typename K , typename V >
Gets the value associated with the given key
.
- Parameters
-
key | the key of the requested value |
- Returns
- the value associated with the given
key
◆ getInMemoryFormat()
template<typename K , typename V >
◆ invalidate()
template<typename K , typename V >
Removes the value associated with the given.
and increases the invalidation statistics.
- Parameters
-
key | the key of the value will be invalidated |
◆ isInvalidatedOnChange()
template<typename K , typename V >
◆ put() [1/2]
template<typename K , typename V >
Puts (associates) a value with the given key
.
- Parameters
-
key | the key of the value will be stored |
value | the value will be stored |
◆ put() [2/2]
template<typename K , typename V >
Puts (associates) a value with the given key
.
- Parameters
-
key | the key of the value will be stored |
value | the value as Data which will be stored |
◆ size()
template<typename K , typename V >
Gets the count of stored records.
- Returns
- the count of stored records
The documentation for this class was generated from the following file:
- hazelcast/include/hazelcast/client/internal/nearcache/NearCache.h