VMware GemFire Native .NET Reference  9.1
Apache::Geode::Client::FunctionService< TResult > Class Template Reference

A factory class used to create Execute object for function execution More...

Inherits SBWrap< apache::geode::client::FunctionService >.

Static Public Member Functions

template<class TKey , class TValue >
static Execution< TResult >^ OnRegion (IRegion< TKey, TValue >^rg)
 Creates a new region Execution object More...
 
static Execution< TResult >^ OnServer (Pool^ pl)
 Creates a new Execution object on one server More...
 
static Execution< TResult >^ OnServer (IRegionService^ cache)
 Creates a new Execution object on one server. More...
 
static Execution< TResult >^ OnServers (Pool^ pl)
 Creates a new Execution object on all servers in the pool More...
 
static Execution< TResult >^ OnServers (IRegionService^ cache)
 Creates a new Execution object on all servers in the pool. More...
 

Detailed Description

template<class TResult>
class Apache::Geode::Client::FunctionService< TResult >

A factory class used to create Execute object for function execution

Member Function Documentation

template<class TResult >
template<class TKey , class TValue >
static Execution<TResult> ^ Apache::Geode::Client::FunctionService< TResult >::OnRegion ( IRegion< TKey, TValue >^  rg)
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> ^ Apache::Geode::Client::FunctionService< TResult >::OnServer ( Pool pl)
static

Creates a new Execution object on one server

Exceptions
UnsupportedOperationExceptionunsupported operation exception, when Pool is in multiusersecure mode.
template<class TResult >
static Execution<TResult> ^ Apache::Geode::Client::FunctionService< TResult >::OnServer ( IRegionService cache)
static

Creates a new Execution object on one server.

Exceptions
IllegalStateExceptionwhen Pool has been closed.
template<class TResult >
static Execution<TResult> ^ Apache::Geode::Client::FunctionService< TResult >::OnServers ( Pool pl)
static

Creates a new Execution object on all servers in the pool

Exceptions
UnsupportedOperationExceptionunsupported operation exception, when Pool is in multiusersecure mode.
template<class TResult >
static Execution<TResult> ^ Apache::Geode::Client::FunctionService< TResult >::OnServers ( IRegionService cache)
static

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

Exceptions
IllegalStateExceptionwhen Pool has been closed.

Pivotal GemFire .NET Cache API Documentation