Hazelcast C++ Client
Hazelcast C++ Client Library
hazelcast::client::transactional_multi_map Class Reference

Transactional implementation of MultiMap. More...

#include <transactional_multi_map.h>

+ Inheritance diagram for hazelcast::client::transactional_multi_map:

Public Member Functions

template<typename K , typename V >
boost::future< bool > put (const K &key, const V &value)
 Transactional implementation of multi_map::put(key , value). More...
 
template<typename K , typename V >
boost::future< std::vector< V > > get (const K &key)
 Transactional implementation of multi_map::get(key). More...
 
template<typename K , typename V >
boost::future< bool > remove (const K &key, const V &value)
 Transactional implementation of multi_map::remove(key , value). More...
 
template<typename K , typename V >
boost::future< std::vector< V > > remove (const K &key)
 Transactional implementation of multi_map::remove(key). More...
 
template<typename K >
boost::future< int > value_count (const K &key)
 Transactional implementation of multi_map::value_count(key). More...
 

Friends

class transaction_context
 

Detailed Description

Transactional implementation of MultiMap.

See also
MultiMap

Definition at line 28 of file transactional_multi_map.h.

Member Function Documentation

◆ get()

template<typename K , typename V >
boost::future<std::vector<V> > hazelcast::client::transactional_multi_map::get ( const K &  key)
inline

Transactional implementation of multi_map::get(key).

See also
multi_map::get(key)

Definition at line 48 of file transactional_multi_map.h.

48  {
49  return to_object_vector<V>(proxy::TransactionalMultiMapImpl::get_data(to_data(key)));
50  }

◆ put()

template<typename K , typename V >
boost::future<bool> hazelcast::client::transactional_multi_map::put ( const K &  key,
const V &  value 
)
inline

Transactional implementation of multi_map::put(key , value).

See also
multi_map::put(key , value)

Definition at line 38 of file transactional_multi_map.h.

38  {
39  return proxy::TransactionalMultiMapImpl::put_data(to_data(key), to_data(value));
40  }

◆ remove() [1/2]

template<typename K , typename V >
boost::future<std::vector<V> > hazelcast::client::transactional_multi_map::remove ( const K &  key)
inline

Transactional implementation of multi_map::remove(key).

See also
multi_map::remove(key)

Definition at line 68 of file transactional_multi_map.h.

68  {
69  return to_object_vector<V>(proxy::TransactionalMultiMapImpl::remove_data(to_data(key)));
70  }

◆ remove() [2/2]

template<typename K , typename V >
boost::future<bool> hazelcast::client::transactional_multi_map::remove ( const K &  key,
const V &  value 
)
inline

Transactional implementation of multi_map::remove(key , value).

See also
multi_map::remove(key , value)

Definition at line 58 of file transactional_multi_map.h.

58  {
59  return proxy::TransactionalMultiMapImpl::remove(to_data(key), to_data(value));
60  }

◆ value_count()

template<typename K >
boost::future<int> hazelcast::client::transactional_multi_map::value_count ( const K &  key)
inline

Transactional implementation of multi_map::value_count(key).

See also
multi_map::value_count(key)

Definition at line 78 of file transactional_multi_map.h.

78  {
79  return proxy::TransactionalMultiMapImpl::value_count(to_data(key));
80  }

The documentation for this class was generated from the following file: