Using the function execution service, you can execute application functions on a single server member, in parallel on a subset of server members, or in parallel on all server members of a distributed system.
In these procedures, it is assumed that you have defined your client and server regions, and that you have coded and configured your servers to run your functions. See the server-side function execution information at Function Execution.
In this section you create an
Executionobject and use its methods to define and run the function. To run a function with high availability, you call
getResultfrom the results collector returned from the
Programming to Get Function Results
GemFire provides a default result collector. If you need special results handling, code a custom
ResultsCollectorimplementation to replace the provided default. Use the
Execution::withCollectormethod to define your custom collector.
The function execution service provides solutions for various application use cases.