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

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


Detailed Description

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

This class encapsulates events that occur for cq.

Public Member Functions

IResultCollector
< TResult >^ 
Execute (String^ func)
IResultCollector
< TResult >^ 
Execute (String^ func, Boolean getResult)
IResultCollector
< TResult >^ 
Execute (String^ func, Boolean getResult, UInt32 timeout)
IResultCollector
< TResult >^ 
Execute (String^ func, Boolean getResult, UInt32 timeout, Boolean isHA)
IResultCollector
< TResult >^ 
Execute (String^ func, Boolean getResult, UInt32 timeout, Boolean isHA, Boolean optimizeForWrite)
template<class TArgs>
Execution< TResult >^ WithArgs (TArgs args)
Execution< TResult >^ WithCollector (IResultCollector< TResult >^rc)
template<class TFilter>
Execution< TResult >^ WithFilter (System::Collections::Generic::ICollection< TFilter >^routingObj)

Protected Member Functions

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

Member Function Documentation

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

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::Execution >::AssignPtr ( gemfire::Execution *  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>
IResultCollector<TResult> ^ GemStone::GemFire::Cache::Generic::Execution< TResult >::Execute ( String^   func  ) 

Execute a function, Return resultCollector.

template<class TResult>
IResultCollector<TResult> ^ GemStone::GemFire::Cache::Generic::Execution< TResult >::Execute ( String^   func,
Boolean  getResult 
)

Execute a function, Return resultCollector.

Parameters:
getResult Indicating if results are expected.

template<class TResult>
IResultCollector<TResult> ^ GemStone::GemFire::Cache::Generic::Execution< TResult >::Execute ( String^   func,
Boolean  getResult,
UInt32  timeout 
)

Execute a function, Return resultCollector.

Parameters:
getResult Indicating if results are expected.
timeout Value to wait for the operation to finish before timing out.

template<class TResult>
IResultCollector<TResult> ^ GemStone::GemFire::Cache::Generic::Execution< TResult >::Execute ( String^   func,
Boolean  getResult,
UInt32  timeout,
Boolean  isHA 
)

Execute a function, Return resultCollector.

Parameters:
func The name of the function to be executed.
getResult Indicating if results are expected.
timeout Value to wait for the operation to finish before timing out.
isHA Whether the given function is HA.

template<class TResult>
IResultCollector<TResult> ^ GemStone::GemFire::Cache::Generic::Execution< TResult >::Execute ( String^   func,
Boolean  getResult,
UInt32  timeout,
Boolean  isHA,
Boolean  optimizeForWrite 
)

Execute a function, Return resultCollector.

Parameters:
func The name of the function to be executed.
getResult Indicating if results are expected.
timeout Value to wait for the operation to finish before timing out.
isHA Whether the given function is HA.
optimizeForWrite Whether the function should be optmized for write operation.
<deprecated> parameters hasResult, isHA and optimizeForWrite are deprecated as of NativeClient 3.6, use of these parameters is ignored. </deprecated>

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

Internal cleanup function invoked by dispose/finalizer.

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

template<class TResult>
template<class TArgs>
Execution<TResult> ^ GemStone::GemFire::Cache::Generic::Execution< TResult >::WithArgs ( TArgs  args  )  [explicit]

Add an argument, Return self.

template<class TResult>
Execution<TResult> ^ GemStone::GemFire::Cache::Generic::Execution< TResult >::WithCollector ( IResultCollector< TResult >^  rc  ) 

Add a result collector, Return self.

template<class TResult>
template<class TFilter>
Execution<TResult> ^ GemStone::GemFire::Cache::Generic::Execution< TResult >::WithFilter ( System::Collections::Generic::ICollection< TFilter >^  routingObj  )  [explicit]

Add a routing object, Return self.


GemFire C++ Cache .NET API Documentation