Skip to content

Commit

Permalink
Merge pull request python-zk#451 from tonyseek/feature/treecache-recipe
Browse files Browse the repository at this point in the history
Add back the TreeCache recipe
  • Loading branch information
bbangert authored Jun 13, 2017
2 parents b4967d1 + ec8b337 commit dc3306e
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 dc3306e

Please sign in to comment.