Anilkumar Gingade created GEODE-6798:
----------------------------------------
Summary: Refactoring client function execution logic
Key: GEODE-6798
URL: https://issues.apache.org/jira/browse/GEODE-6798
Project: Geode
Issue Type: Bug
Components: client/server, functions
Reporter: Anilkumar Gingade
While working on GEODE-6677; issue with client function retry semantic, we came
across duplicating the fix on many places; as the function execution is
supported in many ways:
onServer(pool)
onServers(pool)
onRegion()
onRegions()
onServer(regionService)
onServers(regionService)
Additional methods when data affinity is provided.
In all of these cases, the execution is done by having execute() and
reExecute(); and copies of it to support, execution using function object and
function id, repeating the same logic.
The code can be refactored to remove the duplicating logic and make it easier
to add any changes/fixes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)