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

Fred Krone updated GEODE-2892:
------------------------------
    Description: 
To lower confusion while also not breaking backwards compatibility Region needs 
explicit "onServer" methods.

sizeOnServer 
isEmptyOnServer 

These could also be named something like size(boolean localSize) to keep the 
API a less wordy.

ACCEPTANCE:
When a developer uses these methods from a client cache the result should be 
from the server-side.   This includes accessor Regions.
JavaDocs should be updated accordingly.

  was:
To lower confusion while also not breaking backwards compatibility Region needs 
explicit "onServer" methods.

sizeOnServer 
isEmptyOnServer 

These could also be named something like size(boolean localSize) to keep the 
API a less wordy.

ACCEPTANCE:
When a developer uses these methods then the result should be from the 
server-side.   This includes accessor Regions.
JavaDocs should be updated accordingly.


> Add sizeOnServer and isEmptyOnServer to Region
> ----------------------------------------------
>
>                 Key: GEODE-2892
>                 URL: https://issues.apache.org/jira/browse/GEODE-2892
>             Project: Geode
>          Issue Type: Sub-task
>          Components: regions
>            Reporter: Fred Krone
>            Assignee: Eric Shu
>              Labels: storage_2
>             Fix For: 1.2.0
>
>
> To lower confusion while also not breaking backwards compatibility Region 
> needs explicit "onServer" methods.
> sizeOnServer 
> isEmptyOnServer 
> These could also be named something like size(boolean localSize) to keep the 
> API a less wordy.
> ACCEPTANCE:
> When a developer uses these methods from a client cache the result should be 
> from the server-side.   This includes accessor Regions.
> JavaDocs should be updated accordingly.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to