You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Alberto Gomez (Jira)" <ji...@apache.org> on 2019/09/25 07:43:00 UTC

[jira] [Resolved] (GEODE-7049) Add timeout parameter to Java client Execution::execute() methods

     [ https://issues.apache.org/jira/browse/GEODE-7049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Gomez resolved GEODE-7049.
----------------------------------
    Fix Version/s: 1.11.0
       Resolution: Fixed

> 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
>             Fix For: 1.11.0
>
>          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)