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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 7a176f4  Feature/geode 4728 region shortcut (#447)
7a176f4 is described below

commit 7a176f4cb0615d6286952bf6752f5ae4084a4bcb
Author: Dave Barnes <dbar...@pivotal.io>
AuthorDate: Fri Feb 22 09:47:14 2019 -0800

    Feature/geode 4728 region shortcut (#447)
    
    * GEODE-4728: Add @class tag so RegionShortcut will appear in the 
auto-generated API docs, language improvements.
---
 clicache/src/RegionShortcut.hpp           |  4 ++--
 cppcache/include/geode/RegionShortcut.hpp | 10 ++++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/clicache/src/RegionShortcut.hpp b/clicache/src/RegionShortcut.hpp
index d09ae0a..51e6a8b 100644
--- a/clicache/src/RegionShortcut.hpp
+++ b/clicache/src/RegionShortcut.hpp
@@ -56,7 +56,7 @@ namespace Apache
         /// A CACHING_PROXY_ENTRY_LRU region has local state but can also send 
operations to a server.
         /// If the local state is not found then the operation is sent to the 
server
         /// and the local state is updated to contain the server result.
-        /// It will also destroy entries once it detects that the number of 
enteries crossing default limit of #100000.
+        /// It also destroys entries when it detects that the number of 
entries has exceeded the default limit of #100000.
         /// </summary>
         CACHING_PROXY_ENTRY_LRU,
         
@@ -67,7 +67,7 @@ namespace Apache
 
        /// <summary>
        /// A LOCAL_ENTRY_LRU region only has local state and never sends 
operations to a server.
-       /// It will also destroy entries once it detects once it detects that 
the number of enteries crossing default limit of #100000.
+       /// It also destroys entries when it detects that the number of entries 
has exceeded the default limit of #100000.
        /// </summary>
        LOCAL_ENTRY_LRU
       } ;
diff --git a/cppcache/include/geode/RegionShortcut.hpp 
b/cppcache/include/geode/RegionShortcut.hpp
index f1a2438..ea784da 100644
--- a/cppcache/include/geode/RegionShortcut.hpp
+++ b/cppcache/include/geode/RegionShortcut.hpp
@@ -25,6 +25,8 @@ namespace geode {
 namespace client {
 
 /**
+ * @class RegionShortcut RegionShortcut.hpp
+ *
  * Each enum represents a predefined {@link RegionAttributes} in a {@link
  * Cache}.
  * These enum values can be used to create regions using a {@link 
RegionFactory}
@@ -53,8 +55,8 @@ enum class RegionShortcut {
    * a server.
    * If the local state is not found then the operation is sent to the server
    * and the local state is updated to contain the server result.
-   * It will also destroy entries once it detects that the number of enteries
-   * crossing default limit of #100000.
+   * It also destroys entries when it detects that the number of entries
+   * has exceeded the default limit of #100000.
    */
   CACHING_PROXY_ENTRY_LRU,
 
@@ -66,8 +68,8 @@ enum class RegionShortcut {
   /**
    * A LOCAL_LRU region only has local state and never sends operations to a
    * server.
-   * It will also destroy entries once it detects that the number of enteries
-   * crossing default limit of #100000.
+   * It also destroys entries when it detects that the number of entries
+   * has exceeded the default limit of #100000.
    */
   LOCAL_ENTRY_LRU
 };

Reply via email to