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

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


Detailed Description

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

A factory class used to create Execute object for function execution

Static Public Member Functions

template<class TKey, class TValue>
static Execution
< TResult >^ 
OnRegion (IRegion< TKey, TValue >^rg)
static Execution
< TResult >^ 
OnServer (IRegionService^ cache)
static Execution
< TResult >^ 
OnServer (Pool^ pl)
static Execution
< TResult >^ 
OnServers (IRegionService^ cache)
static Execution
< TResult >^ 
OnServers (Pool^ pl)

Protected Member Functions

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

Member Function Documentation

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::FunctionService >::_SetNativePtr ( gemfire::FunctionService *  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::FunctionService >::AssignPtr ( gemfire::FunctionService *  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::FunctionService >::InternalCleanup (  )  [inline, protected, inherited]

Internal cleanup function invoked by dispose/finalizer.

template<class TResult>
template<class TKey, class TValue>
static Execution<TResult> ^ GemStone::GemFire::Cache::Generic::FunctionService< TResult >::OnRegion ( IRegion< TKey, TValue >^  rg  )  [explicit, static]

Creates a new region Execution object

If Pool is multiusersecure mode then one need to pass logical instance of Region Pool->CreateSecureUserCache(<credentials>)->getRegion(<regionPath>).

template<class TResult>
static Execution<TResult> ^ GemStone::GemFire::Cache::Generic::FunctionService< TResult >::OnServer ( IRegionService^   cache  )  [static]

Creates a new Execution object on one server.

Exceptions:
IllegalStateException when Pool has been closed.

template<class TResult>
static Execution<TResult> ^ GemStone::GemFire::Cache::Generic::FunctionService< TResult >::OnServer ( Pool^   pl  )  [static]

Creates a new Execution object on one server

Exceptions:
UnsupportedOperationException unsupported operation exception, when Pool is in multiusersecure mode.

template<class TResult>
static Execution<TResult> ^ GemStone::GemFire::Cache::Generic::FunctionService< TResult >::OnServers ( IRegionService^   cache  )  [static]

Creates a new Execution object on all servers in the pool.

Exceptions:
IllegalStateException when Pool has been closed.

template<class TResult>
static Execution<TResult> ^ GemStone::GemFire::Cache::Generic::FunctionService< TResult >::OnServers ( Pool^   pl  )  [static]

Creates a new Execution object on all servers in the pool

Exceptions:
UnsupportedOperationException unsupported operation exception, when Pool is in multiusersecure mode.

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