Map Entry event.
More...
#include <EntryEvent.h>
|
| EntryEvent (const std::string &name, const Member &member, EntryEventType eventType, std::auto_ptr< K > key, std::auto_ptr< V > value) |
| Constructor.
|
|
| EntryEvent (const std::string &name, const Member &member, EntryEventType eventType, std::auto_ptr< K > key, std::auto_ptr< V > value, std::auto_ptr< V > oldValue, std::auto_ptr< V > mergingValue) |
| Constructor.
|
|
const K * | getKeyObject () const |
| Returns the key of the entry event. More...
|
|
std::auto_ptr< K > | releaseKey () |
| Releases the key of the entry event. More...
|
|
const K & | getKey () const |
|
const V * | getOldValueObject () const |
| Returns the old value of the entry event. More...
|
|
std::auto_ptr< V > | releaseOldValue () |
| Releases the old value of the entry event. More...
|
|
const V & | getOldValue () const |
|
const V * | getValueObject () const |
| Returns the value of the entry event. More...
|
|
std::auto_ptr< V > | releaseValue () |
| Releases the value of the entry event. More...
|
|
const V & | getValue () const |
|
const V * | getMergingValueObject () const |
| Returns the incoming merging value of the entry event. More...
|
|
std::auto_ptr< V > | releaseMergingValue () const |
| Releases the mergingValue of the entry event. More...
|
|
const V & | getMergingValue () const |
|
const 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...
|
|
std::ostream & | operator<< (std::ostream &out) const |
|
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)
template<typename K, typename V>
Return the event type.
- Returns
- event type
template<typename K, typename V>
- Deprecated:
- This API is deprecated in favor of
- See Also
- {getKeyObject} and
-
{releaseKey}. It may be removed in the next releases.
Returns the key of the entry event
- Returns
- the key
template<typename K, typename V>
Returns the key of the entry event.
- Returns
- the key
template<typename K, typename V>
Returns the member fired this event.
- Returns
- the member fired this event.
template<typename K, typename V>
template<typename K, typename V>
Returns the incoming merging value of the entry event.
- Returns
- The merging value
template<typename K, typename V>
Returns the name of the map for this event.
- Returns
- name of the map.
template<typename K, typename V>
template<typename K, typename V>
Returns the old value of the entry event.
- Returns
- The older value for the entry
template<typename K, typename V>
- Deprecated:
- This API is deprecated in favor of
- See Also
- {getValueObject} and
-
{releaseValue}. It may be removed in the next releases.
Returns the value of the entry event
- Returns
- The value of for the entry
template<typename K, typename V>
Returns the value of the entry event.
- Returns
- The value for the entry
template<typename K, typename V>
Releases the key of the entry event.
It resets the key in the event, calling getKeyObject, releaseKeyObject after calling releaseKey shall return NULL pointer.
- Returns
- the key
template<typename K, typename V>
Releases the mergingValue of the entry event.
It resets the value in the event, calling getmergingValueObject, releasemergingValue after calling releasemergingValue shall return NULL pointer.
Returns the incoming merging value of the entry event.
- Returns
- merging value
template<typename K, typename V>
Releases the old value of the entry event.
It resets the oldValue in the event, calling getOldValueObject, releaseOldValue after calling releaseOldValue shall return NULL pointer.
Returns the old value of the entry event
- Returns
- The older value for the entry
template<typename K, typename V>
Releases the value of the entry event.
It resets the value in the event, calling getValueObject, releaseValue after calling releaseValue shall return NULL pointer.
Returns the old value of the entry event
- Returns
- The older value for the entry
The documentation for this class was generated from the following file: