GemStone::GemFire::Cache::EntryEvent Class Reference


Detailed Description

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

Public Member Functions

 EntryEvent (Region^ region, ICacheableKey^ key, IGFSerializable^ oldValue, IGFSerializable^ newValue, IGFSerializable^ aCallbackArgument, bool remoteOrigin)

Properties

IGFSerializable^  CallbackArgument [get]
ICacheableKey^  Key [get]
IGFSerializable^  NewValue [get]
IGFSerializable^  OldValue [get]
Region^  Region [get]
bool RemoteOrigin [get]

Constructor & Destructor Documentation

GemStone::GemFire::Cache::EntryEvent::EntryEvent ( Region^   region,
ICacheableKey^   key,
IGFSerializable^   oldValue,
IGFSerializable^   newValue,
IGFSerializable^   aCallbackArgument,
bool  remoteOrigin 
)

Constructor to create an EntryEvent for the given region.


Property Documentation

IGFSerializable^ GemStone::GemFire::Cache::EntryEvent::CallbackArgument [get]

Returns the callbackArgument passed to the method that generated this event. See the Region interface methods that take a callbackArgument parameter.

ICacheableKey^ GemStone::GemFire::Cache::EntryEvent::Key [get]

Returns the key this event describes.

IGFSerializable^ GemStone::GemFire::Cache::EntryEvent::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.

IGFSerializable^ GemStone::GemFire::Cache::EntryEvent::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^ GemStone::GemFire::Cache::EntryEvent::Region [get]

Return the region this event occurred in.

bool GemStone::GemFire::Cache::EntryEvent::RemoteOrigin [get]

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


GemFire C++ Cache .NET API Documentation