You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Fred Krone (JIRA)" <ji...@apache.org> on 2017/05/01 04:24:04 UTC

[jira] [Updated] (GEODE-2844) Clients need a default way to connect to existing region on server

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

Fred Krone updated GEODE-2844:
------------------------------
    Description: 
A ClientRegionShortcut is required when connecting a client to an existing region.  The list is not very intutive and currently Proxy (the most logical pick for default behavior) doesn't behave as it should in its Javadocs.  Regardless, users shouldn't have to read through a list of docs to figure out which ClientRegionShortcut to use when trying to connect to an existing Region on the server.

Create a zero arg constructor:

ClientCache.createClientRegionFactory().create(<region_name>)

Or... even better... take out the createClientRegionFactory() step altogether:

ClientCache.createRegion() which calls .createClientRegionFactory(default shortcut).

This will create a PROXY to an existing region on a server -- ie: all behvior happens on the server.


  was:
Create zero arg constructor 

ClientCache.createClientRegionFactory().create(<region_name>)

Or... even better...

ClientCache.createRegion() which calls .createClientRegionFactory(default shortcut)

This will create a PROXY to an existing region on a server



> Clients need a default way to connect to existing region on server
> ------------------------------------------------------------------
>
>                 Key: GEODE-2844
>                 URL: https://issues.apache.org/jira/browse/GEODE-2844
>             Project: Geode
>          Issue Type: Improvement
>          Components: regions
>            Reporter: Fred Krone
>            Assignee: Darrel Schneider
>
> A ClientRegionShortcut is required when connecting a client to an existing region.  The list is not very intutive and currently Proxy (the most logical pick for default behavior) doesn't behave as it should in its Javadocs.  Regardless, users shouldn't have to read through a list of docs to figure out which ClientRegionShortcut to use when trying to connect to an existing Region on the server.
> Create a zero arg constructor:
> ClientCache.createClientRegionFactory().create(<region_name>)
> Or... even better... take out the createClientRegionFactory() step altogether:
> ClientCache.createRegion() which calls .createClientRegionFactory(default shortcut).
> This will create a PROXY to an existing region on a server -- ie: all behvior happens on the server.



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