Public Member Functions | |
| EntryEvent () | |
| Constructor. | |
| EntryEvent (const RegionPtr ®ion, const CacheableKeyPtr &key, const CacheablePtr &oldValue, const CacheablePtr &newValue, const UserDataPtr &aCallbackArgument, const bool remoteOrigin) | |
| Constructor, given all values. | |
| UserDataPtr | getCallbackArgument () const |
| Returns the callbackArgument passed to the method that generated this event. | |
| CacheableKeyPtr | getKey () const |
| |
| CacheablePtr | getNewValue () const |
| If the event is a destroy or invalidate operation, then the new value will be NULLPTR. | |
| CacheablePtr | getOldValue () const |
| If the prior state of the entry was invalid, or non-existent/destroyed, then the old value will be NULLPTR. | |
| RegionPtr | getRegion () const |
| |
| void | preserveSB () const |
| Atomically increment reference count. | |
| int32_t | refCount () |
| |
| void | releaseSB () const |
| Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero. | |
| bool | remoteOrigin () const |
| If the event originated in a remote process, returns true. | |
| virtual | ~EntryEvent () |
| Destructor. | |
Protected Attributes | |
| UserDataPtr | m_callbackArgument |
| Callback argument for this event, if any. | |
| CacheableKeyPtr | m_key |
| Cacheable key. | |
| CacheablePtr | m_newValue |
| New value. | |
| CacheablePtr | m_oldValue |
| Old value. | |
| RegionPtr | m_region |
| Region. | |
| bool | m_remoteOrigin |
| True if from a remote (non-local) process. | |
| gemfire::EntryEvent::EntryEvent | ( | const RegionPtr & | region, | |
| const CacheableKeyPtr & | key, | |||
| const CacheablePtr & | oldValue, | |||
| const CacheablePtr & | newValue, | |||
| const UserDataPtr & | aCallbackArgument, | |||
| const bool | remoteOrigin | |||
| ) |
Constructor, given all values.
| virtual gemfire::EntryEvent::~EntryEvent | ( | ) | [virtual] |
Destructor.
| gemfire::EntryEvent::EntryEvent | ( | ) |
Constructor.
| UserDataPtr gemfire::EntryEvent::getCallbackArgument | ( | ) | const [inline] |
Returns the callbackArgument passed to the method that generated this event.
See the Region interface methods that take a callbackArgument parameter.
| CacheableKeyPtr gemfire::EntryEvent::getKey | ( | ) | const [inline] |
| CacheablePtr gemfire::EntryEvent::getNewValue | ( | ) | const [inline] |
If the event is a destroy or invalidate operation, then the new value will be NULLPTR.
| CacheablePtr gemfire::EntryEvent::getOldValue | ( | ) | const [inline] |
If the prior state of the entry was invalid, or non-existent/destroyed, then the old value will be NULLPTR.
| RegionPtr gemfire::EntryEvent::getRegion | ( | ) | const [inline] |
| void gemfire::SharedBase::preserveSB | ( | ) | const [inherited] |
Atomically increment reference count.
| int32_t gemfire::SharedBase::refCount | ( | ) | [inline, inherited] |
| void gemfire::SharedBase::releaseSB | ( | ) | const [inherited] |
Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.
| bool gemfire::EntryEvent::remoteOrigin | ( | ) | const [inline] |
If the event originated in a remote process, returns true.
UserDataPtr gemfire::EntryEvent::m_callbackArgument [protected] |
Callback argument for this event, if any.
CacheableKeyPtr gemfire::EntryEvent::m_key [protected] |
Cacheable key.
CacheablePtr gemfire::EntryEvent::m_newValue [protected] |
New value.
CacheablePtr gemfire::EntryEvent::m_oldValue [protected] |
Old value.
RegionPtr gemfire::EntryEvent::m_region [protected] |
bool gemfire::EntryEvent::m_remoteOrigin [protected] |
True if from a remote (non-local) process.