You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2016/09/13 22:59:21 UTC

[jira] [Created] (GEODE-1888) One should not have to "create" a Client PROXY region

Swapnil Bawaskar created GEODE-1888:
---------------------------------------

             Summary: One should not have to "create" a Client PROXY region
                 Key: GEODE-1888
                 URL: https://issues.apache.org/jira/browse/GEODE-1888
             Project: Geode
          Issue Type: Bug
          Components: regions
            Reporter: Swapnil Bawaskar


A Client PROXY region is just a handle to a Region that exists on the server, yet with the current API one has to "create" this region like so:
{noformat}
ClientRegionFactory<Integer, String> clientRegionFactory = cCache.createClientRegionFactory(ClientRegionShortcut.PROXY);
        Region<Integer, String> myRegion = clientRegionFactory.create("myRegion");
{noformat}

"Creating" a region on the client, does not create the region on the server, so I would like to suggest that we add a {{getRegion(String regionName)}} API to the ClientCache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)