gemfire::CacheListener
interface. Public Member Functions | |
virtual void | close () |
ManagedCqListenerGeneric (Object^ userptr) | |
virtual void | onError (const gemfire::CqEvent &ev) |
virtual void | onEvent (const gemfire::CqEvent &ev) |
GemStone::GemFire::Cache::ICqListener^ | ptr () const |
virtual | ~ManagedCqListenerGeneric () |
Static Public Member Functions | |
static CqListener * | create (const char *assemblyPath, const char *factoryFunctionName) |
gemfire::ManagedCqListenerGeneric::ManagedCqListenerGeneric | ( | Object^ | userptr | ) | [inline] |
Constructor to initialize with the provided managed object.
userptr | The user object. |
virtual gemfire::ManagedCqListenerGeneric::~ManagedCqListenerGeneric | ( | ) | [inline, virtual] |
Destructor -- does nothing.
virtual void gemfire::ManagedCqListenerGeneric::close | ( | ) | [virtual] |
Handles the event of an entry's value being invalidated.
EntryEvent denotes the event object associated with the entry invalidation.
static CqListener* gemfire::ManagedCqListenerGeneric::create | ( | const char * | assemblyPath, | |
const char * | factoryFunctionName | |||
) | [static] |
Static function to create a ManagedCacheListener
using given managed assembly path and given factory function.
assemblyPath | The path of the managed assembly that contains the ICacheListener factory function. | |
factoryFunctionName | The name of the factory function of the managed class for creating an object that implements ICacheListener . This should be a static function of the format {Namespace}.{Class Name}.{Method Name}. |
IllegalArgumentException | If the managed library cannot be loaded or the factory function fails. |
virtual void gemfire::ManagedCqListenerGeneric::onError | ( | const gemfire::CqEvent & | ev | ) | [virtual] |
Handles the event of an entry's value being modified in a region.
This entry previously existed in this region in the local cache, but its previous value may have been null.
ev | EntryEvent denotes the event object associated with updating the entry. |
virtual void gemfire::ManagedCqListenerGeneric::onEvent | ( | const gemfire::CqEvent & | ev | ) | [virtual] |
Handles the event of a new key being added to a region.
The entry did not previously exist in this region in the local cache (even with a null value).
This function does not throw any exception.
ev | Denotes the event object associated with the entry creation. |
GemStone::GemFire::Cache:: ICqListener ^ gemfire::ManagedCqListenerGeneric::ptr | ( | ) | const [inline] |
Returns the wrapped managed object reference.