VMware GemFire Native .NET Reference
9.2.4
|
This class encapsulates events that occur for an entry in a region. More...
Inherits UMWrap< apache::geode::client::EntryEvent >.
Public Member Functions | |
EntryEvent (IRegion< TKey, TValue >^ region, TKey key, TValue oldValue, TValue newValue, Object^ aCallbackArgument, bool remoteOrigin) | |
Constructor to create an EntryEvent for the given 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... | |
This class encapsulates events that occur for an entry in a region.
Apache::Geode::Client::EntryEvent< TKey, TValue >::EntryEvent | ( | IRegion< TKey, TValue >^ | region, |
TKey | key, | ||
TValue | oldValue, | ||
TValue | newValue, | ||
Object^ | aCallbackArgument, | ||
bool | remoteOrigin | ||
) |
Constructor to create an EntryEvent
for the given region.
|
get |
Returns the callbackArgument passed to the method that generated this event.
See the Region interface methods that take a callbackArgument parameter.
|
get |
Returns the key this event describes.
|
get |
Return the updated value from this event.
If the event is a destroy or invalidate operation, then the new value will be NULL.
|
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'.
|
get |
Return the region this event occurred in.
|
get |
If the event originated in a remote process, returns true.