16 #ifndef HAZELCAST_CLIENT_INTERNAL_ADAPTER_DATASTRUCTUREADAPTER_H_
17 #define HAZELCAST_CLIENT_INTERNAL_ADAPTER_DATASTRUCTUREADAPTER_H_
23 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
25 #pragma warning(disable: 4251) //for dll export
36 template <
typename K,
typename V>
42 virtual void clear() {
46 virtual void set(
const K &key,
const V &value) {
50 virtual boost::shared_ptr<V> put(
const K &key,
const V &value) {
52 return boost::shared_ptr<V>();
55 virtual boost::shared_ptr<V>
get(
const K &key) {
57 return boost::shared_ptr<V>();
65 virtual void putAll(
const std::map<K, V> entries) {
69 virtual std::map<K, V> getAll(
const std::set<K> &keys) {
71 return std::map<K, V>();
74 virtual void remove(
const K &key) {
78 virtual bool containsKey(
const K &key)
const {
90 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Abstracts the Hazelcast data structures with Near Cache support for the Near Cache usage...
Definition: DataStructureAdapter.h:37
Definition: MapEntryView.h:32