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/11/04 22:21:49 UTC
[1/3] git commit: temp commit
Repository: curator
Updated Branches:
refs/heads/master 221f481f6 -> ef2ca5786
temp commit
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/debc475b
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/debc475b
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/debc475b
Branch: refs/heads/master
Commit: debc475bfed00eaf61ae4448fdf599bc5cbc1eae
Parents: 1cd0522
Author: randgalt <ra...@apache.org>
Authored: Tue Nov 4 16:21:20 2014 -0500
Committer: randgalt <ra...@apache.org>
Committed: Tue Nov 4 16:21:20 2014 -0500
----------------------------------------------------------------------
.../src/site/confluence/Tree-cache.confluence | 39 --------------------
.../src/site/confluence/xtree-cache.confluence | 39 ++++++++++++++++++++
2 files changed, 39 insertions(+), 39 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/debc475b/curator-recipes/src/site/confluence/Tree-cache.confluence
----------------------------------------------------------------------
diff --git a/curator-recipes/src/site/confluence/Tree-cache.confluence b/curator-recipes/src/site/confluence/Tree-cache.confluence
deleted file mode 100644
index 0d67857..0000000
--- a/curator-recipes/src/site/confluence/Tree-cache.confluence
+++ /dev/null
@@ -1,39 +0,0 @@
-h1. Tree Cache
-
-h2. Description
-A utility that attempts to keep all data from all children of a ZK path locally cached. This class will watch the ZK path, respond to update/create/delete events, pull down the data, etc. You can register a listener that will get notified when changes occur.
-
-h2. Participating Classes
-* TreeCache
-* TreeCacheListener
-* TreeCacheEvent
-* ChildData
-
-h2. Usage
-h3. Creating a TreeCache
-{code}
-public TreeCache(CuratorFramework client,
- String path,
- boolean cacheData)
-Parameters:
-client - the client
-path - path to watch
-cacheData - if true, node contents are cached in addition to the stat
-{code}
-
-h2. General Usage
-The cache must be started by calling {{start()}}. Call {{close()}} when you are through with the cache.
-
-At any time, call {{getCurrentChildren()}} to get the current state of the cache. Alternatively, call {{getCurrentData()}} to get
-the data for a given path that's being monitored.
-
-You can also register to be notified when a change occurs by calling {{getListenable()}} and then:
-{code}
-public void addListener(TreeCacheListener listener)
- Add a change listener
-Parameters:
-listener - the listener
-{code}
-
-h2. Error Handling
-TreeCache instances internally monitor a {{ConnectionStateListener}}. If the connection state changes, the cache will receive messages detailing the change.
http://git-wip-us.apache.org/repos/asf/curator/blob/debc475b/curator-recipes/src/site/confluence/xtree-cache.confluence
----------------------------------------------------------------------
diff --git a/curator-recipes/src/site/confluence/xtree-cache.confluence b/curator-recipes/src/site/confluence/xtree-cache.confluence
new file mode 100644
index 0000000..0d67857
--- /dev/null
+++ b/curator-recipes/src/site/confluence/xtree-cache.confluence
@@ -0,0 +1,39 @@
+h1. Tree Cache
+
+h2. Description
+A utility that attempts to keep all data from all children of a ZK path locally cached. This class will watch the ZK path, respond to update/create/delete events, pull down the data, etc. You can register a listener that will get notified when changes occur.
+
+h2. Participating Classes
+* TreeCache
+* TreeCacheListener
+* TreeCacheEvent
+* ChildData
+
+h2. Usage
+h3. Creating a TreeCache
+{code}
+public TreeCache(CuratorFramework client,
+ String path,
+ boolean cacheData)
+Parameters:
+client - the client
+path - path to watch
+cacheData - if true, node contents are cached in addition to the stat
+{code}
+
+h2. General Usage
+The cache must be started by calling {{start()}}. Call {{close()}} when you are through with the cache.
+
+At any time, call {{getCurrentChildren()}} to get the current state of the cache. Alternatively, call {{getCurrentData()}} to get
+the data for a given path that's being monitored.
+
+You can also register to be notified when a change occurs by calling {{getListenable()}} and then:
+{code}
+public void addListener(TreeCacheListener listener)
+ Add a change listener
+Parameters:
+listener - the listener
+{code}
+
+h2. Error Handling
+TreeCache instances internally monitor a {{ConnectionStateListener}}. If the connection state changes, the cache will receive messages detailing the change.
[3/3] git commit: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/curator
Posted by ra...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/ef2ca578
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/ef2ca578
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/ef2ca578
Branch: refs/heads/master
Commit: ef2ca578648e3ab8bf927ada169614011ec1ff2a
Parents: b571357 221f481
Author: randgalt <ra...@apache.org>
Authored: Tue Nov 4 16:21:41 2014 -0500
Committer: randgalt <ra...@apache.org>
Committed: Tue Nov 4 16:21:41 2014 -0500
----------------------------------------------------------------------
curator-client/pom.xml | 4 ++--
curator-examples/pom.xml | 2 +-
curator-framework/pom.xml | 4 ++--
curator-recipes/pom.xml | 4 ++--
curator-test/pom.xml | 4 ++--
curator-x-discovery-server/pom.xml | 4 ++--
curator-x-discovery/pom.xml | 4 ++--
curator-x-rpc/pom.xml | 4 ++--
pom.xml | 2 +-
9 files changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
[2/3] git commit: fix bad case of file
Posted by ra...@apache.org.
fix bad case of file
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/b571357e
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/b571357e
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/b571357e
Branch: refs/heads/master
Commit: b571357e645d1a42242ace6118b15325413894fa
Parents: debc475
Author: randgalt <ra...@apache.org>
Authored: Tue Nov 4 16:21:32 2014 -0500
Committer: randgalt <ra...@apache.org>
Committed: Tue Nov 4 16:21:32 2014 -0500
----------------------------------------------------------------------
.../src/site/confluence/tree-cache.confluence | 39 ++++++++++++++++++++
.../src/site/confluence/xtree-cache.confluence | 39 --------------------
2 files changed, 39 insertions(+), 39 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/b571357e/curator-recipes/src/site/confluence/tree-cache.confluence
----------------------------------------------------------------------
diff --git a/curator-recipes/src/site/confluence/tree-cache.confluence b/curator-recipes/src/site/confluence/tree-cache.confluence
new file mode 100644
index 0000000..0d67857
--- /dev/null
+++ b/curator-recipes/src/site/confluence/tree-cache.confluence
@@ -0,0 +1,39 @@
+h1. Tree Cache
+
+h2. Description
+A utility that attempts to keep all data from all children of a ZK path locally cached. This class will watch the ZK path, respond to update/create/delete events, pull down the data, etc. You can register a listener that will get notified when changes occur.
+
+h2. Participating Classes
+* TreeCache
+* TreeCacheListener
+* TreeCacheEvent
+* ChildData
+
+h2. Usage
+h3. Creating a TreeCache
+{code}
+public TreeCache(CuratorFramework client,
+ String path,
+ boolean cacheData)
+Parameters:
+client - the client
+path - path to watch
+cacheData - if true, node contents are cached in addition to the stat
+{code}
+
+h2. General Usage
+The cache must be started by calling {{start()}}. Call {{close()}} when you are through with the cache.
+
+At any time, call {{getCurrentChildren()}} to get the current state of the cache. Alternatively, call {{getCurrentData()}} to get
+the data for a given path that's being monitored.
+
+You can also register to be notified when a change occurs by calling {{getListenable()}} and then:
+{code}
+public void addListener(TreeCacheListener listener)
+ Add a change listener
+Parameters:
+listener - the listener
+{code}
+
+h2. Error Handling
+TreeCache instances internally monitor a {{ConnectionStateListener}}. If the connection state changes, the cache will receive messages detailing the change.
http://git-wip-us.apache.org/repos/asf/curator/blob/b571357e/curator-recipes/src/site/confluence/xtree-cache.confluence
----------------------------------------------------------------------
diff --git a/curator-recipes/src/site/confluence/xtree-cache.confluence b/curator-recipes/src/site/confluence/xtree-cache.confluence
deleted file mode 100644
index 0d67857..0000000
--- a/curator-recipes/src/site/confluence/xtree-cache.confluence
+++ /dev/null
@@ -1,39 +0,0 @@
-h1. Tree Cache
-
-h2. Description
-A utility that attempts to keep all data from all children of a ZK path locally cached. This class will watch the ZK path, respond to update/create/delete events, pull down the data, etc. You can register a listener that will get notified when changes occur.
-
-h2. Participating Classes
-* TreeCache
-* TreeCacheListener
-* TreeCacheEvent
-* ChildData
-
-h2. Usage
-h3. Creating a TreeCache
-{code}
-public TreeCache(CuratorFramework client,
- String path,
- boolean cacheData)
-Parameters:
-client - the client
-path - path to watch
-cacheData - if true, node contents are cached in addition to the stat
-{code}
-
-h2. General Usage
-The cache must be started by calling {{start()}}. Call {{close()}} when you are through with the cache.
-
-At any time, call {{getCurrentChildren()}} to get the current state of the cache. Alternatively, call {{getCurrentData()}} to get
-the data for a given path that's being monitored.
-
-You can also register to be notified when a change occurs by calling {{getListenable()}} and then:
-{code}
-public void addListener(TreeCacheListener listener)
- Add a change listener
-Parameters:
-listener - the listener
-{code}
-
-h2. Error Handling
-TreeCache instances internally monitor a {{ConnectionStateListener}}. If the connection state changes, the cache will receive messages detailing the change.