You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Emily Yeh (JIRA)" <ji...@apache.org> on 2017/06/19 23:39:00 UTC

[jira] [Assigned] (GEODE-1892) Provide a cleaner Region interface

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

Emily Yeh reassigned GEODE-1892:
--------------------------------

    Assignee: Emily Yeh

> Provide a cleaner Region interface
> ----------------------------------
>
>                 Key: GEODE-1892
>                 URL: https://issues.apache.org/jira/browse/GEODE-1892
>             Project: Geode
>          Issue Type: Improvement
>          Components: regions
>            Reporter: Swapnil Bawaskar
>            Assignee: Emily Yeh
>              Labels: refactor, region_interface, storage_2
>
> The Region interface has a mix of methods, some only work on the server and some only work on the client. We should refactor Region into a ClientRegion and a ServerRegion for the client side and server side.
> The {{ClientRegion}} could have {{registerInterest(K key)}} and all its variants and all variants of {{local}} operations and {{query(java.lang.String queryPredicate)}}, whereas the ServerRegion could have {{getDistributedLock(java.lang.Object key)}} and {{becomeLockGrantor()}}



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