VMware Tanzu GemFire Native .NET Reference  10.1.5
Apache::Geode::Client::EntryEvent< TKey, TValue > Class Template Reference

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

Properties

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

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