VMware VMware GemFire Native C++ Reference 10.4.3
|
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. | |
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. | |
std::shared_ptr< Serializable > | getCallbackArgument () const |
Returns the callbackArgument passed to the method that generated this event. | |
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. | |
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. | |
std::shared_ptr< Region > | getRegion () const |
bool | remoteOrigin () const |
If the event originated in a remote process, returns true. | |
virtual | ~EntryEvent () |
Destructor. | |
Protected Attributes | |
std::shared_ptr< Serializable > | m_callbackArgument |
Callback argument for this event, if any. | |
std::shared_ptr< CacheableKey > | m_key |
Cacheable key. | |
std::shared_ptr< Cacheable > | m_newValue |
New value. | |
std::shared_ptr< Cacheable > | m_oldValue |
Old value. | |
std::shared_ptr< Region > | m_region |
Region. | |
bool | m_remoteOrigin |
True if from a remote (non-local) process. | |
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.