VMware VMware GemFire Native .NET Reference 10.4.3
Loading...
Searching...
No Matches
Apache::Geode::Client::EntryEvent< TKey, TValue > Class Template Reference

This class encapsulates events that occur for an entry in a region. More...

#include <EntryEvent.hpp>

Properties

Object^ CallbackArgument [get]
 Returns the callbackArgument passed to the method that generated this event.
 
TKey Key [get]
 Returns the key this event describes.
 
TValue NewValue [get]
 Return the updated value from this event.
 
TValue OldValue [get]
 Returns 'null' if there was no value in the cache.
 
IRegion< TKey, TValue >^ Region [get]
 Return the region this event occurred in.
 
bool RemoteOrigin [get]
 If the event originated in a remote process, returns true.
 

Detailed Description

template<class TKey, class TValue>
class Apache::Geode::Client::EntryEvent< TKey, TValue >

This class encapsulates events that occur for an entry in a region.

Property Documentation

◆ CallbackArgument

template<class TKey , class TValue >
Object^ Apache::Geode::Client::EntryEvent< TKey, TValue >::CallbackArgument
get

Returns the callbackArgument passed to the method that generated this event.

See the Region interface methods that take a callbackArgument parameter.

◆ Key

template<class TKey , class TValue >
TKey Apache::Geode::Client::EntryEvent< TKey, TValue >::Key
get

Returns the key this event describes.

◆ NewValue

template<class TKey , class TValue >
TValue Apache::Geode::Client::EntryEvent< TKey, TValue >::NewValue
get

Return the updated value from this event.

If the event is a destroy or invalidate operation, then the new value will be NULL.

◆ OldValue

template<class TKey , class TValue >
TValue Apache::Geode::Client::EntryEvent< TKey, TValue >::OldValue
get

Returns 'null' if there was no value in the cache.

If the prior state of the entry was invalid, or non-existent/destroyed, then the old value will be 'null'.

◆ Region

template<class TKey , class TValue >
IRegion< TKey, TValue>^ Apache::Geode::Client::EntryEvent< TKey, TValue >::Region
get

Return the region this event occurred in.

◆ RemoteOrigin

template<class TKey , class TValue >
bool Apache::Geode::Client::EntryEvent< TKey, TValue >::RemoteOrigin
get

If the event originated in a remote process, returns true.


Apache Geode C++ Cache .NET API Documentation