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

Map Entry event. More...

#include <EntryEvent.h>

Public Member Functions

 EntryEvent (const std::string &name, const Member &member, EntryEventType eventType, boost::shared_ptr< K > key, boost::shared_ptr< V > value)
 Constructor.
 
 EntryEvent (const std::string &name, const Member &member, EntryEventType eventType, boost::shared_ptr< K > key, boost::shared_ptr< V > value, boost::shared_ptr< V > oldValue, boost::shared_ptr< V > mergingValue)
 Constructor.
 
const K & getKey () const
 Returns the key of the entry event. More...
 
const V & getOldValue () const
 Returns the old value of the entry event. More...
 
const V & getValue () const
 Returns the value of the entry event. More...
 
const V & getMErgingValue () const
 Returns the incoming merging value of the entry event. More...
 
Member getMember () const
 Returns the member fired this event. More...
 
EntryEventType getEventType () const
 Return the event type. More...
 
std::string getName () const
 Returns the name of the map for this event. More...
 

Detailed Description

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

Map Entry event.

Parameters
<K>key of the map entry
<V>value of the map entry
See Also
EntryListener
IMap::addEntryListener(EntryListener, boolean)

Member Function Documentation

template<typename K, typename V>
EntryEventType hazelcast::client::EntryEvent< K, V >::getEventType ( ) const
inline

Return the event type.

Returns
event type
template<typename K, typename V>
const K& hazelcast::client::EntryEvent< K, V >::getKey ( ) const
inline

Returns the key of the entry event.

Returns
the key
template<typename K, typename V>
Member hazelcast::client::EntryEvent< K, V >::getMember ( ) const
inline

Returns the member fired this event.

Returns
the member fired this event.
template<typename K, typename V>
const V& hazelcast::client::EntryEvent< K, V >::getMErgingValue ( ) const
inline

Returns the incoming merging value of the entry event.

Returns
template<typename K, typename V>
std::string hazelcast::client::EntryEvent< K, V >::getName ( ) const
inline

Returns the name of the map for this event.

Returns
name of the map.
template<typename K, typename V>
const V& hazelcast::client::EntryEvent< K, V >::getOldValue ( ) const
inline

Returns the old value of the entry event.

Returns
template<typename K, typename V>
const V& hazelcast::client::EntryEvent< K, V >::getValue ( ) const
inline

Returns the value of the entry event.

Returns

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