GemStone::GemFire::Cache::Generic::CqEvent< TKey, TResult > Class Template Reference

Inherits GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::CqEvent >.


Detailed Description

template<class TKey, class TResult>
class GemStone::GemFire::Cache::Generic::CqEvent< TKey, TResult >

This class encapsulates events that occur for cq.

Public Member Functions

CqOperationType getBaseOperation ()
CqQuery< TKey, TResult >^ getCq ()
TKey getKey ()
TResult getNewValue ()
CqOperationType getQueryOperation ()

Protected Member Functions

void InternalCleanup ()
void SetPtr (gemfire::CqEvent *nativeptr, bool own)

Properties

bool Own [get, set]

Member Function Documentation

template<class TKey, class TResult>
CqOperationType GemStone::GemFire::Cache::Generic::CqEvent< TKey, TResult >::getBaseOperation (  ) 

Get the operation on the base operation that triggered this event.

template<class TKey, class TResult>
CqQuery<TKey, TResult> ^ GemStone::GemFire::Cache::Generic::CqEvent< TKey, TResult >::getCq (  ) 

Return the cqquery this event occurred in.

template<class TKey, class TResult>
TKey GemStone::GemFire::Cache::Generic::CqEvent< TKey, TResult >::getKey (  ) 

Get the key relating to the event. In case of REGION_CLEAR and REGION_INVALIDATE operation, the key will be null.

template<class TKey, class TResult>
TResult GemStone::GemFire::Cache::Generic::CqEvent< TKey, TResult >::getNewValue (  ) 

Get the new value of the modification. If there is no new value returns null, this will happen during delete operation.

template<class TKey, class TResult>
CqOperationType GemStone::GemFire::Cache::Generic::CqEvent< TKey, TResult >::getQueryOperation (  ) 

Get the operation on the query operation that triggered this event.

void GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::CqEvent >::InternalCleanup (  )  [inline, protected, inherited]

Internal cleanup function invoked by dispose/finalizer.

void GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::CqEvent >::SetPtr ( gemfire::CqEvent *  nativeptr,
bool  own 
) [inline, protected, inherited]

Used to set the native pointer to a new object. This should only be used when you know that the underlying object is NULL or you do not own it.


Property Documentation

bool GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::CqEvent >::Own [get, set, protected, inherited]

Get or set the ownership of this object.

Returns:
True if the native object is owned by this object.


GemFire C++ Cache .NET API Documentation