geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapnil Bawaskar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-1892) Provide a cleaner Region interface
Date Tue, 13 Sep 2016 23:46:21 GMT
Swapnil Bawaskar created GEODE-1892:
---------------------------------------

             Summary: Provide a cleaner Region interface
                 Key: GEODE-1892
                 URL: https://issues.apache.org/jira/browse/GEODE-1892
             Project: Geode
          Issue Type: Bug
          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)

Mime
View raw message