3 #ifndef GEODE_ENTRYEVENT_H_ 4 #define GEODE_ENTRYEVENT_H_ 22 #include "geode_globals.hpp" 51 const UserDataPtr& aCallbackArgument,
const bool remoteOrigin);
96 #endif // GEODE_ENTRYEVENT_H_ CacheablePtr getOldValue() const
If the prior state of the entry was invalid, or non-existent/destroyed, then the old value will be NU...
Definition: EntryEvent.hpp:69
UserDataPtr getCallbackArgument() const
Returns the callbackArgument passed to the method that generated this event.
Definition: EntryEvent.hpp:82
Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
CacheableKeyPtr m_key
Cacheable key.
Definition: EntryEvent.hpp:40
RegionPtr getRegion() const
Definition: EntryEvent.hpp:60
RegionPtr m_region
Region.
Definition: EntryEvent.hpp:39
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
bool m_remoteOrigin
True if from a remote (non-local) process.
Definition: EntryEvent.hpp:45
CacheablePtr m_oldValue
Old value.
Definition: EntryEvent.hpp:41
CacheableKeyPtr getKey() const
Definition: EntryEvent.hpp:63
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:40
CacheablePtr getNewValue() const
If the event is a destroy or invalidate operation, then the new value will be NULLPTR.
Definition: EntryEvent.hpp:75
Represents an entry event affecting an entry, including its identity and the the circumstances of the...
Definition: EntryEvent.hpp:37
UserDataPtr m_callbackArgument
Callback argument for this event, if any.
Definition: EntryEvent.hpp:44
CacheablePtr m_newValue
New value.
Definition: EntryEvent.hpp:42
bool remoteOrigin() const
If the event originated in a remote process, returns true.
Definition: EntryEvent.hpp:85
This namespace contains all the Geode C++ API classes, enumerations and globals.