Alberto Gomez created GEODE-7049:
------------------------------------

             Summary: Add timeout parameter to Java native client 
Execution::execute() methods 
                 Key: GEODE-7049
                 URL: https://issues.apache.org/jira/browse/GEODE-7049
             Project: Geode
          Issue Type: Improvement
          Components: native client
            Reporter: Alberto Gomez


The Java native client only allows to set a timeout to functions by means of a 
system property (gemfire.CLIENT_FUNCTION_TIMEOUT) while the C++ and C# native 
client allow to pass a timeout parameter on a function invocation basis.

It will be good to have the same functionality on the Java native client by 
means of having the following methods on the Execution interface:

 
{code:java}
ResultCollector<OUT, AGG> execute(Function function, int timeoutMs) throws 
FunctionException;
ResultCollector<OUT, AGG> execute(String functionId, int timeoutMs) throws 
FunctionException; 
{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to