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

Transactional implementation of ilist. More...

#include <transactional_list.h>

+ Inheritance diagram for hazelcast::client::transactional_list:

Public Member Functions

template<typename E >
boost::future< bool > add (const E &e)
 Add new item to transactional list. More...
 
template<typename E >
boost::future< bool > remove (const E &e)
 Add item from transactional list. More...
 

Friends

class transaction_context
 

Detailed Description

Transactional implementation of ilist.

Definition at line 25 of file transactional_list.h.

Member Function Documentation

◆ add()

template<typename E >
boost::future<bool> hazelcast::client::transactional_list::add ( const E &  e)
inline

Add new item to transactional list.

Parameters
eitem
Returns
true if item is added successfully

Definition at line 34 of file transactional_list.h.

34  {
35  return proxy::TransactionalListImpl::add(to_data(e));
36  }

◆ remove()

template<typename E >
boost::future<bool> hazelcast::client::transactional_list::remove ( const E &  e)
inline

Add item from transactional list.

Parameters
eitem
Returns
true if item is remove successfully

Definition at line 44 of file transactional_list.h.

44  {
45  return proxy::TransactionalListImpl::remove(to_data(e));
46  }

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