23 #ifndef _IGNITE_CACHE_EVENT_CACHE_ENTRY_EVENT 24 #define _IGNITE_CACHE_EVENT_CACHE_ENTRY_EVENT 39 template<
typename K,
typename V>
64 hasOldValue(other.hasOldValue)
89 oldVal = other.oldVal;
90 hasOldValue = other.hasOldValue;
139 #endif //_IGNITE_CACHE_EVENT_CACHE_ENTRY_EVENT K key
Key.
Definition: cache_entry.h:154
void Read(binary::BinaryRawReader &reader)
Reads cache event using provided raw reader.
Definition: cache_entry_event.h:121
Cache entry event class template.
Definition: cache_entry_event.h:40
virtual ~CacheEntryEvent()
Destructor.
Definition: cache_entry_event.h:72
CacheEntryEvent & operator=(const CacheEntryEvent< K, V > &other)
Assignment operator.
Definition: cache_entry_event.h:83
bool TryReadObject(T &res)
Try read object.
Definition: binary_raw_reader.h:443
T ReadObject()
Read object.
Definition: binary_raw_reader.h:428
Cache entry class template.
Definition: cache_entry.h:40
V val
Value.
Definition: cache_entry.h:157
CacheEntry & operator=(const CacheEntry &other)
Assignment operator.
Definition: cache_entry.h:110
Declares ignite::cache::CacheEntry class.
bool HasOldValue() const
Check if the old value exists.
Definition: cache_entry_event.h:111
Declares ignite::binary::BinaryRawReader class.
CacheEntryEvent()
Default constructor.
Definition: cache_entry_event.h:48
bool hasValue
Indicates whether value exists.
Definition: cache_entry.h:160
const V & GetOldValue() const
Get old value.
Definition: cache_entry_event.h:101
Apache Ignite API.
Definition: cache.h:48
CacheEntryEvent(const CacheEntryEvent< K, V > &other)
Copy constructor.
Definition: cache_entry_event.h:61
Binary raw reader.
Definition: binary_raw_reader.h:56