GemStone::GemFire::Cache::Generic::ResultCollector< TResult > Class Template Reference

Inherits GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::ResultCollector >, and GemStone::GemFire::Cache::Generic::IResultCollector< TResult >< TResult >.


Detailed Description

template<class TResult>
class GemStone::GemFire::Cache::Generic::ResultCollector< TResult >

collect function execution results, default collector

Public Member Functions

virtual void AddResult (TResult rs)
virtual void ClearResults ()
virtual void EndResults ()
virtual
System::Collections::Generic::ICollection
< TResult >^ 
GetResult (UInt32 timeout)
virtual
System::Collections::Generic::ICollection
< TResult >^ 
GetResult ()

Protected Member Functions

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

Member Function Documentation

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::ResultCollector >::_SetNativePtr ( gemfire::ResultCollector *  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 TResult>
virtual void GemStone::GemFire::Cache::Generic::ResultCollector< TResult >::AddResult ( TResult  rs  )  [virtual]

add result from a single function execution

Implements GemStone::GemFire::Cache::Generic::IResultCollector< TResult >.

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::ResultCollector >::AssignPtr ( gemfire::ResultCollector *  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.

template<class TResult>
virtual void GemStone::GemFire::Cache::Generic::ResultCollector< TResult >::ClearResults (  )  [virtual]

GemFire will invoke this method before re-executing function (in case of Function Execution HA) This is to clear the previous execution results from the result collector

Since:
6.5

Implements GemStone::GemFire::Cache::Generic::IResultCollector< TResult >.

template<class TResult>
virtual void GemStone::GemFire::Cache::Generic::ResultCollector< TResult >::EndResults (  )  [virtual]

Call back provided to caller, which is called after function execution is complete and caller can retrieve results using getResult()

Implements GemStone::GemFire::Cache::Generic::IResultCollector< TResult >.

template<class TResult>
virtual System::Collections::Generic::ICollection<TResult> ^ GemStone::GemFire::Cache::Generic::ResultCollector< TResult >::GetResult ( UInt32  timeout  )  [virtual]

get result

Implements GemStone::GemFire::Cache::Generic::IResultCollector< TResult >.

template<class TResult>
virtual System::Collections::Generic::ICollection<TResult> ^ GemStone::GemFire::Cache::Generic::ResultCollector< TResult >::GetResult (  )  [virtual]

get result

Implements GemStone::GemFire::Cache::Generic::IResultCollector< TResult >.

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

Internal cleanup function invoked by dispose/finalizer.

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::ResultCollector >::SetPtr ( gemfire::ResultCollector *  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