Skip to content

Commit

Permalink
feat(recipe): Add TreeCache recipe
Browse files Browse the repository at this point in the history
Kazoo implementation of Apache Curator's TreeCache recipe. See also:
http://curator.apache.org/curator-recipes/tree-cache.html
  • Loading branch information
tonyseek committed Jun 13, 2017
1 parent b4967d1 commit ec8b337
Show file tree
Hide file tree
Showing 4 changed files with 694 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ organized alphabetically by module name.
api/interfaces
api/protocol/states
api/recipe/barrier
api/recipe/cache
api/recipe/counter
api/recipe/election
api/recipe/lease
Expand Down
26 changes: 26 additions & 0 deletions docs/api/recipe/cache.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.. _cache_module:

:mod:`kazoo.recipe.cache`
----------------------------

.. automodule:: kazoo.recipe.cache

Public API
++++++++++

.. autoclass:: TreeCache

.. automethod:: start
.. automethod:: close
.. automethod:: listen
.. automethod:: listen_fault
.. automethod:: get_data
.. automethod:: get_children

.. autoclass:: TreeEvent
:members:
:show-inheritance:

.. autoclass:: NodeData
:members:
:show-inheritance:
Loading

0 comments on commit ec8b337

Please sign in to comment.