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

Inherits GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CqAttributesMutator >.


Detailed Description

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

Supports modification of certain cq attributes after the cq has been created.

Public Member Functions

void AddCqListener (Generic::ICqListener< TKey, TResult >^cqListener)
void RemoveCqListener (Generic::ICqListener< TKey, TResult >^aListener)
void SetCqListeners (array< Generic::ICqListener< TKey, TResult >^>^newListeners)

Protected Member Functions

void _SetNativePtr (gemfire::CqAttributesMutator *nativeptr)
void AssignPtr (gemfire::CqAttributesMutator *nativeptr)
void InternalCleanup ()
void SetPtr (gemfire::CqAttributesMutator *nativeptr)

Member Function Documentation

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CqAttributesMutator >::_SetNativePtr ( gemfire::CqAttributesMutator *  nativeptr  )  [inline, protected, inherited]

Set the native pointer to the new object without doing a preserveSB(). DO NOT USE UNLESS YOU KNOW WHAT YOU ARE DOING.

template<class TKey, class TResult>
void GemStone::GemFire::Cache::Generic::CqAttributesMutator< TKey, TResult >::AddCqListener ( Generic::ICqListener< TKey, TResult >^  cqListener  ) 

Adds the CqListener for the cq.

Parameters:
cqListener user-defined cq listener, or null for no cache listener

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CqAttributesMutator >::AssignPtr ( gemfire::CqAttributesMutator *  nativeptr  )  [inline, protected, inherited]

Used to assign the native pointer to a new object.

Note the order of preserveSB() and releaseSB(). This handles the corner case when m_nativeptr is same as nativeptr.

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

Internal cleanup function invoked by dispose/finalizer.

template<class TKey, class TResult>
void GemStone::GemFire::Cache::Generic::CqAttributesMutator< TKey, TResult >::RemoveCqListener ( Generic::ICqListener< TKey, TResult >^  aListener  ) 

Remove a CqListener for the cq.

template<class TKey, class TResult>
void GemStone::GemFire::Cache::Generic::CqAttributesMutator< TKey, TResult >::SetCqListeners ( array< Generic::ICqListener< TKey, TResult >^>^  newListeners  ) 

Initialize with an array of listeners

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CqAttributesMutator >::SetPtr ( gemfire::CqAttributesMutator *  nativeptr  )  [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.


GemFire C++ Cache .NET API Documentation