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...
|
|
const 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)
◆ getEventType()
template<typename K, typename V>
Return the event type.
- Returns
- event type
◆ getKey()
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
◆ getKeyObject()
template<typename K, typename V>
Returns the key of the entry event.
- Returns
- the key
◆ getMember()
template<typename K, typename V>
Returns the member fired this event.
- Returns
- the member fired this event.
◆ getMergingValue()
template<typename K, typename V>
◆ getMergingValueObject()
template<typename K, typename V>
Returns the incoming merging value of the entry event.
- Returns
- The merging value
◆ getName()
template<typename K, typename V>
Returns the name of the map for this event.
- Returns
- name of the map.
◆ getOldValue()
template<typename K, typename V>
◆ getOldValueObject()
template<typename K, typename V>
Returns the old value of the entry event.
- Returns
- The older value for the entry
◆ getValue()
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
◆ getValueObject()
template<typename K, typename V>
Returns the value of the entry event.
- Returns
- The value for the entry
◆ releaseKey()
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
◆ releaseMergingValue()
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
◆ releaseOldValue()
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
◆ releaseValue()
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: