[ https://issues.apache.org/jira/browse/GEODE-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Swapnil Bawaskar updated GEODE-1892: ------------------------------------ Issue Type: Improvement (was: Bug) > 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 > > 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.3.4#6332)