geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Addison (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-3570) Standardize on model for infinity that doesn't use int overloading
Date Fri, 15 Sep 2017 15:54:00 GMT

     [ 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)

Mime
View raw message