Hazelcast C++ Client
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | Friends | List of all members
hazelcast::client::TransactionalSet< E > Class Template Reference

Transactional implementation of ISet. More...

#include <TransactionalSet.h>

+ Inheritance diagram for hazelcast::client::TransactionalSet< E >:

Public Member Functions

bool add (const E &e)
 Add new item to transactional set. More...
 
bool remove (const E &e)
 Add item from transactional set. More...
 
int size ()
 Returns the size of the set. More...
 

Friends

class TransactionContext
 

Detailed Description

template<typename E>
class hazelcast::client::TransactionalSet< E >

Transactional implementation of ISet.

Member Function Documentation

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

Add new item to transactional set.

Parameters
eitem
Returns
true if item is added successfully
template<typename E >
bool hazelcast::client::TransactionalSet< E >::remove ( const E &  e)
inline

Add item from transactional set.

Parameters
eitem
Returns
true if item is remove successfully
template<typename E >
int hazelcast::client::TransactionalSet< E >::size ( )
inline

Returns the size of the set.

Returns
size

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