You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by km...@apache.org on 2018/03/14 19:43:04 UTC

[geode] branch develop updated: GEODE-4831 Update docs for registerInterest API changes (#1607)

This is an automated email from the ASF dual-hosted git repository.

kmiller pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new d7c46ff  GEODE-4831 Update docs for registerInterest API changes (#1607)
d7c46ff is described below

commit d7c46ffa42b9a4c7fd59becc19346e731f90e43a
Author: Karen Miller <ka...@users.noreply.github.com>
AuthorDate: Wed Mar 14 12:43:00 2018 -0700

    GEODE-4831 Update docs for registerInterest API changes (#1607)
---
 .../events/configure_client_server_event_messaging.html.md.erb      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/geode-docs/developing/events/configure_client_server_event_messaging.html.md.erb b/geode-docs/developing/events/configure_client_server_event_messaging.html.md.erb
index 77701bd..427702f 100644
--- a/geode-docs/developing/events/configure_client_server_event_messaging.html.md.erb
+++ b/geode-docs/developing/events/configure_client_server_event_messaging.html.md.erb
@@ -39,7 +39,7 @@ To receive entry events in the client from the server:
     Register interest in all keys, a key list, individual keys, or by comparing key strings to regular expressions. By default, no entries are registered to receive updates. Specify whether the server is to send values with entry update events. Interest registration is only available through the API.
 
     1.  Get an instance of the region where you want to register interest.
-    2.  Use the regions's `registerInterest`\* methods to specify the entries you want. Examples:
+    2.  Use the region's `registerInterest`\* methods to specify the entries you want. Examples:
 
         ``` pre
         // Register interest in a single key and download its entry 
@@ -55,11 +55,11 @@ To receive entry events in the client from the server:
         list.add("key-2"); 
         list.add("key-3"); 
         list.add("key-4");
-        region2.registerInterest(list, InterestResultPolicy.NONE, false); 
+        region2.registerInterestForKeys(list, InterestResultPolicy.NONE, false); 
                             
         // Register interest in all keys and download all available keys now
         Region region3 = . . . ;
-        region3.registerInterest("ALL_KEYS", InterestResultPolicy.KEYS); 
+        region3.registerInterestForAllKeys(InterestResultPolicy.KEYS); 
                             
         // Register Interest in all keys matching a regular expression 
         Region region1 = . . . ; 

-- 
To stop receiving notification emails like this one, please contact
kmiller@apache.org.