![]() |
Apache Ignite C++
|
Cache entry event class template. More...
#include <cache_entry_event.h>
Public Member Functions | |
| CacheEntryEvent () | |
| Default constructor. More... | |
| CacheEntryEvent (const CacheEntryEvent< K, V > &other) | |
| Copy constructor. More... | |
| virtual | ~CacheEntryEvent () |
| Destructor. | |
| CacheEntryEvent & | operator= (const CacheEntryEvent< K, V > &other) |
| Assignment operator. More... | |
| CacheEntryEventType::Type | GetEventType () const |
| Get event type. More... | |
| const V & | GetOldValue () const |
| Get old value. More... | |
| bool | HasOldValue () const |
| Check if the old value exists. More... | |
Public Member Functions inherited from ignite::thin::cache::CacheEntry< K, V > | |
| CacheEntry () | |
| Default constructor. More... | |
| CacheEntry (const K &key, const V &val) | |
| Constructor. More... | |
| CacheEntry (const CacheEntry &other) | |
| Copy constructor. More... | |
| CacheEntry (const std::pair< K, V > &p) | |
| Constructor. More... | |
| virtual | ~CacheEntry () |
| Destructor. | |
| CacheEntry & | operator= (const CacheEntry &other) |
| Assignment operator. More... | |
| const K & | GetKey () const |
| Get key. More... | |
| const V & | GetValue () const |
| Get value. More... | |
| bool | HasValue () const |
| Check if the value exists. More... | |
Friends | |
| class | ignite::impl::thin::cache::query::continuous::ContinuousQueryClientHolder< K, V > |
Additional Inherited Members | |
Protected Attributes inherited from ignite::thin::cache::CacheEntry< K, V > | |
| K | key |
| Key. | |
| V | val |
| Value. | |
| bool | hasValue |
| Indicates whether value exists. | |
Cache entry event class template.
Both key and value types should be default-constructable, copy-constructable and assignable.
|
inline |
Default constructor.
Creates instance with all fields default-constructed.
|
inline |
Copy constructor.
| other | Other instance. |
|
inline |
Get event type.
|
inline |
Get old value.
|
inline |
Check if the old value exists.
|
inline |
Assignment operator.
| other | Other instance. |
1.8.17