|
Apache Geode Native C++ Reference 1.15.0
|
Represents an entry event affecting an entry, including its identity and the the circumstances of the event. More...
#include <EntryEvent.hpp>
Public Member Functions | |
| EntryEvent () | |
| Constructor. More... | |
| EntryEvent (const std::shared_ptr< Region > ®ion, const std::shared_ptr< CacheableKey > &key, const std::shared_ptr< Cacheable > &oldValue, const std::shared_ptr< Cacheable > &newValue, const std::shared_ptr< Serializable > &aCallbackArgument, const bool remoteOrigin) | |
| Constructor, given all values. More... | |
| std::shared_ptr< Serializable > | getCallbackArgument () const |
| Returns the callbackArgument passed to the method that generated this event. More... | |
| std::shared_ptr< CacheableKey > | getKey () const |
| std::shared_ptr< Cacheable > | getNewValue () const |
| If the event is a destroy or invalidate operation, then the new value will be nullptr. More... | |
| std::shared_ptr< Cacheable > | getOldValue () const |
| If the prior state of the entry was invalid, or non-existent/destroyed, then the old value will be nullptr. More... | |
| std::shared_ptr< Region > | getRegion () const |
| bool | remoteOrigin () const |
| If the event originated in a remote process, returns true. More... | |
| virtual | ~EntryEvent () |
| Destructor. More... | |
Protected Attributes | |
| std::shared_ptr< Serializable > | m_callbackArgument |
| Callback argument for this event, if any. More... | |
| std::shared_ptr< CacheableKey > | m_key |
| Cacheable key. More... | |
| std::shared_ptr< Cacheable > | m_newValue |
| New value. More... | |
| std::shared_ptr< Cacheable > | m_oldValue |
| Old value. More... | |
| std::shared_ptr< Region > | m_region |
| Region. More... | |
| bool | m_remoteOrigin |
| True if from a remote (non-local) process. More... | |
Represents an entry event affecting an entry, including its identity and the the circumstances of the event.
| apache::geode::client::EntryEvent::EntryEvent | ( | const std::shared_ptr< Region > & | region, |
| const std::shared_ptr< CacheableKey > & | key, | ||
| const std::shared_ptr< Cacheable > & | oldValue, | ||
| const std::shared_ptr< Cacheable > & | newValue, | ||
| const std::shared_ptr< Serializable > & | aCallbackArgument, | ||
| const bool | remoteOrigin | ||
| ) |
Constructor, given all values.
|
virtual |
Destructor.
| apache::geode::client::EntryEvent::EntryEvent | ( | ) |
Constructor.
|
inline |
Returns the callbackArgument passed to the method that generated this event.
See the Region interface methods that take a callbackArgument parameter.
|
inline |
|
inline |
If the event is a destroy or invalidate operation, then the new value will be nullptr.
|
inline |
If the prior state of the entry was invalid, or non-existent/destroyed, then the old value will be nullptr.
|
inline |
|
inline |
If the event originated in a remote process, returns true.
|
protected |
Callback argument for this event, if any.
|
protected |
Cacheable key.
|
protected |
New value.
|
protected |
Old value.
|
protected |
True if from a remote (non-local) process.