You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Addison (JIRA)" <ji...@apache.org> on 2017/09/15 15:54:00 UTC

[jira] [Updated] (GEODE-3570) Standardize on model for infinity that doesn't use int overloading

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

Addison updated GEODE-3570:
---------------------------
    Summary: Standardize on model for infinity that doesn't use int overloading  (was: Overloading int for waiting and the like should be stopped and api broken out)

> Standardize on model for infinity that doesn't use int overloading
> ------------------------------------------------------------------
>
>                 Key: GEODE-3570
>                 URL: https://issues.apache.org/jira/browse/GEODE-3570
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Mark Hanson
>
> See discussion here http://markmail.org/thread/hwrkg5cra57lyvo3
> Currently the code in the native client follows various conventions. We would like to standardize the code to use a model where instead of overloading int to mean infinity on a wait, to create two separate function calls. One for wait indefinitely wait()  and one to wait for a duration waitDuration(duration)
> ThinClientRegion.cpp:2996 executeFunction needs refactoring.
> PoolAttributes.hpp:69 setRetryAttempts needs to be retitled attempts and then the using functions need to use it appropriately.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)