Hazelcast C++ Client
 All Classes Functions Variables Enumerations Pages
Public Member Functions | Friends | List of all members
hazelcast::client::TransactionalMap< K, V > Class Template Reference

Transactional implementation of IMap. More...

#include <TransactionalMap.h>

+ Inheritance diagram for hazelcast::client::TransactionalMap< K, V >:

Public Member Functions

bool containsKey (const K &key)
 Transactional implementation of IMap::containsKey(Object). More...
 
boost::shared_ptr< V > get (const K &key)
 Transactional implementation of IMap::get(Object). More...
 
int size ()
 Transactional implementation of IMap::size(). More...
 
bool isEmpty ()
 Transactional implementation of IMap::isEmpty(). More...
 
boost::shared_ptr< V > put (const K &key, const V &value)
 Transactional implementation of IMap::put(Object, Object). More...
 
void set (const K &key, const V &value)
 Transactional implementation of IMap::set(key, value). More...
 
boost::shared_ptr< V > putIfAbsent (const K &key, const V &value)
 Transactional implementation of IMap::putIfAbsent(key, value) More...
 
boost::shared_ptr< V > replace (const K &key, const V &value)
 Transactional implementation of IMap::replace(key, value). More...
 
bool replace (const K &key, const V &oldValue, const V &newValue)
 Transactional implementation of IMap::replace(key, value, oldValue). More...
 
boost::shared_ptr< V > remove (const K &key)
 Transactional implementation of IMap::remove(key). More...
 
void deleteEntry (const K &key)
 Transactional implementation of IMap::delete(key). More...
 
bool remove (const K &key, const V &value)
 Transactional implementation of IMap::remove(key, value). More...
 
std::vector< K > keySet ()
 Transactional implementation of IMap::keySet(). More...
 
std::vector< K > keySet (const serialization::IdentifiedDataSerializable *predicate)
 Transactional implementation of IMap::keySet(Predicate) . More...
 
std::vector< V > values ()
 Transactional implementation of IMap::values(). More...
 
std::vector< V > values (const serialization::IdentifiedDataSerializable *predicate)
 Transactional implementation of IMap::values(Predicate) . More...
 

Friends

class TransactionContext
 
class adaptor::RawPointerTransactionalMap< K, V >
 

Detailed Description

template<typename K, typename V>
class hazelcast::client::TransactionalMap< K, V >

Transactional implementation of IMap.

See Also
IMap
Parameters
<K>key
<V>value

Member Function Documentation

template<typename K, typename V>
bool hazelcast::client::TransactionalMap< K, V >::containsKey ( const K &  key)
inline

Transactional implementation of IMap::containsKey(Object).

See Also
IMap::containsKey(key)
template<typename K, typename V>
void hazelcast::client::TransactionalMap< K, V >::deleteEntry ( const K &  key)
inline

Transactional implementation of IMap::delete(key).

The object to be deleted will be removed from only the current transaction context till transaction is committed.

See Also
IMap::delete(keu)
template<typename K, typename V>
boost::shared_ptr<V> hazelcast::client::TransactionalMap< K, V >::get ( const K &  key)
inline

Transactional implementation of IMap::get(Object).

See Also
IMap::get(keu)
template<typename K, typename V>
bool hazelcast::client::TransactionalMap< K, V >::isEmpty ( )
inline

Transactional implementation of IMap::isEmpty().

See Also
IMap::isEmpty()
template<typename K, typename V>
std::vector<K> hazelcast::client::TransactionalMap< K, V >::keySet ( )
inline

Transactional implementation of IMap::keySet().

See Also
IMap::keySet()
template<typename K, typename V>
std::vector<K> hazelcast::client::TransactionalMap< K, V >::keySet ( const serialization::IdentifiedDataSerializable predicate)
inline

Transactional implementation of IMap::keySet(Predicate) .

See Also
IMap::keySet(predicate)
template<typename K, typename V>
boost::shared_ptr<V> hazelcast::client::TransactionalMap< K, V >::put ( const K &  key,
const V &  value 
)
inline

Transactional implementation of IMap::put(Object, Object).

The object to be put will be accessible only in the current transaction context till transaction is committed.

See Also
IMap::put(key, value)
template<typename K, typename V>
boost::shared_ptr<V> hazelcast::client::TransactionalMap< K, V >::putIfAbsent ( const K &  key,
const V &  value 
)
inline

Transactional implementation of IMap::putIfAbsent(key, value)

The object to be put will be accessible only in the current transaction context till transaction is committed.

See Also
IMap::putIfAbsent(key, value)
template<typename K, typename V>
boost::shared_ptr<V> hazelcast::client::TransactionalMap< K, V >::remove ( const K &  key)
inline

Transactional implementation of IMap::remove(key).

The object to be removed will be removed from only the current transaction context till transaction is committed.

See Also
IMap::remove(key)
template<typename K, typename V>
bool hazelcast::client::TransactionalMap< K, V >::remove ( const K &  key,
const V &  value 
)
inline

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

The object to be removed will be removed from only the current transaction context till transaction is committed.

See Also
IMap::remove(key, value)
template<typename K, typename V>
boost::shared_ptr<V> hazelcast::client::TransactionalMap< K, V >::replace ( const K &  key,
const V &  value 
)
inline

Transactional implementation of IMap::replace(key, value).

The object to be replaced will be accessible only in the current transaction context till transaction is committed.

See Also
IMap::replace(key, value)
template<typename K, typename V>
bool hazelcast::client::TransactionalMap< K, V >::replace ( const K &  key,
const V &  oldValue,
const V &  newValue 
)
inline

Transactional implementation of IMap::replace(key, value, oldValue).

The object to be replaced will be accessible only in the current transaction context till transaction is committed.

See Also
IMap::replace(key, value, oldValue)
template<typename K, typename V>
void hazelcast::client::TransactionalMap< K, V >::set ( const K &  key,
const V &  value 
)
inline

Transactional implementation of IMap::set(key, value).

The object to be set will be accessible only in the current transaction context till transaction is committed.

See Also
IMap::set(key, value)
template<typename K, typename V>
int hazelcast::client::TransactionalMap< K, V >::size ( )
inline

Transactional implementation of IMap::size().

See Also
IMap::size()
template<typename K, typename V>
std::vector<V> hazelcast::client::TransactionalMap< K, V >::values ( )
inline

Transactional implementation of IMap::values().

See Also
IMap::values()
template<typename K, typename V>
std::vector<V> hazelcast::client::TransactionalMap< K, V >::values ( const serialization::IdentifiedDataSerializable predicate)
inline

Transactional implementation of IMap::values(Predicate) .

See Also
IMap::values(Predicate)

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