You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2014/06/07 20:19:33 UTC

[35/50] [abbrv] git commit: wip on doc

wip on doc


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/081bfdbe
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/081bfdbe
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/081bfdbe

Branch: refs/heads/master
Commit: 081bfdbe14121db21b5f873519dac7bdf98ee577
Parents: bfc388c
Author: randgalt <ra...@apache.org>
Authored: Sun Jun 1 13:23:46 2014 -0500
Committer: randgalt <ra...@apache.org>
Committed: Sun Jun 1 13:23:46 2014 -0500

----------------------------------------------------------------------
 curator-x-rpc/src/site/confluence/events.confluence | 4 +++-
 curator-x-rpc/src/site/confluence/usage.confluence  | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/081bfdbe/curator-x-rpc/src/site/confluence/events.confluence
----------------------------------------------------------------------
diff --git a/curator-x-rpc/src/site/confluence/events.confluence b/curator-x-rpc/src/site/confluence/events.confluence
index a6df4e8..7eb7fec 100644
--- a/curator-x-rpc/src/site/confluence/events.confluence
+++ b/curator-x-rpc/src/site/confluence/events.confluence
@@ -17,6 +17,8 @@ inThread => {
 }
 {code}
 
+*IMPORTANT:* your event handling should operate as quickly as possible. You should return to calling getNextEvent() as soon as possible.
+
 h2. Schema
 
 h3. CuratorEvent
@@ -38,7 +40,7 @@ h3. CuratorEvent
 h3. CuratorEventType
 
 ||Value||Description||
-|PING|Returned if there no events have been generated within the [[configured|configuration.html]] pingTime|
+|PING|Returned if no events have been generated within the [[configured|configuration.html]] pingTime|
 |CREATE|Async createNode() API completion|
 |DELETE|Async deleteNode() API completion|
 |EXISTS|Async exists() API completion|

http://git-wip-us.apache.org/repos/asf/curator/blob/081bfdbe/curator-x-rpc/src/site/confluence/usage.confluence
----------------------------------------------------------------------
diff --git a/curator-x-rpc/src/site/confluence/usage.confluence b/curator-x-rpc/src/site/confluence/usage.confluence
index 9ddaf97..bf9edf1 100644
--- a/curator-x-rpc/src/site/confluence/usage.confluence
+++ b/curator-x-rpc/src/site/confluence/usage.confluence
@@ -62,6 +62,9 @@ inThread => {
         ... process event ...
     }
 }
+
+... in your application shutdown
+client.closeCuratorProjection(curatorProjection)
 {code}
 
 h2. Usage