Quantcast
Channel: VMware Communities : Unanswered Discussions - vFabric GemFire [ARCHIVED]
Viewing all articles
Browse latest Browse all 532

call function on member howto

$
0
0

Hi

I have 2 pools defined in clientCache.xml file,

 

I have total 4 gemfire members or jvm up and running, i want to execute function on each member (not on region or pool)

 

i am able to execute function on the pool by getting all pools like below,

 

 

Map<String, Pool> mapP =PoolManager.getAll();

 

 

But when i try

 

 

ResultCollector rc =

FunctionService.onMember(clientCache.getDistributedSystem().getDistributedMember() )

 

 

com.gemstone.gemfire.cache.execute.FunctionException: Function named XXXX.MyFunction is not registered to FunctionService

 

 

I want to bascially execute this function on each member or JVM or gemfire


Viewing all articles
Browse latest Browse all 532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>