19 #ifndef HAZELCAST_TransactionalMultiMap
20 #define HAZELCAST_TransactionalMultiMap
22 #include "hazelcast/client/proxy/TransactionalMultiMapImpl.h"
27 template<
typename K,
typename V>
28 class RawPointerTransactionalMultiMap;
39 template<
typename K,
typename V>
50 bool put(
const K& key,
const V& value) {
51 return proxy::TransactionalMultiMapImpl::put(toData(&key), toData(&value));
59 std::vector<V>
get(
const K& key) {
60 return toObjectCollection<V>(proxy::TransactionalMultiMapImpl::getData(toData(&key)));
68 bool remove(
const K& key,
const V& value) {
69 return proxy::TransactionalMultiMapImpl::remove(toData(&key), toData(&value));
77 std::vector<V>
remove(
const K& key) {
78 return toObjectCollection<V>(proxy::TransactionalMultiMapImpl::removeData(toData(&key)));
88 return proxy::TransactionalMultiMapImpl::valueCount(toData(&key));
97 return proxy::TransactionalMultiMapImpl::size();
102 : proxy::TransactionalMultiMapImpl(name, transactionProxy) {
110 #endif //HAZELCAST_TransactionalMultiMap
Transactional implementation of MultiMap.
Definition: RawPointerTransactionalMultiMap.h:37
Transactional implementation of MultiMap.
Definition: TransactionalMultiMap.h:40
int size()
Transactional implementation of Multimap::size().
Definition: TransactionalMultiMap.h:96
Definition: MapEntryView.h:32
bool put(const K &key, const V &value)
Transactional implementation of Multimap::put(key , value).
Definition: TransactionalMultiMap.h:50
int valueCount(const K &key)
Transactional implementation of Multimap::valueCount(key).
Definition: TransactionalMultiMap.h:87
Provides a context to do transactional operations; so beginning/committing transactions, but also retrieving transactional data-structures like the TransactionalMap.
Definition: TransactionContext.h:52