[ 
https://issues.apache.org/jira/browse/GEODE-7049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936998#comment-16936998
 ] 

ASF subversion and git services commented on GEODE-7049:
--------------------------------------------------------

Commit cd869a0395d22d98c3b3731b92679d311df913bf in geode's branch 
refs/heads/develop from Alberto Gomez
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=cd869a0 ]

GEODE-7049: add TimeUnit param to executeFunction methods and handle smaller 
than 1ms values and greater than Integer.MAX_VALUE ms


> Add timeout parameter to Java 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
>            Assignee: Alberto Gomez
>            Priority: Major
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> The Java 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 
> clients allow to pass a timeout parameter on a function execution basis.
> It will be good to have the same functionality on the Java 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
(v8.3.4#803005)

Reply via email to