geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Krone (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-2844) Clients need a default way to connect to existing region on server
Date Mon, 01 May 2017 04:24:04 GMT

     [ 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)

Mime
View raw message