Skip to content

Commit dc3306e

Browse files
authored
Merge pull request #451 from tonyseek/feature/treecache-recipe
Add back the TreeCache recipe
2 parents b4967d1 + ec8b337 commit dc3306e

File tree

4 files changed

+694
-0
lines changed

4 files changed

+694
-0
lines changed

docs/api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ organized alphabetically by module name.
1616
api/interfaces
1717
api/protocol/states
1818
api/recipe/barrier
19+
api/recipe/cache
1920
api/recipe/counter
2021
api/recipe/election
2122
api/recipe/lease

docs/api/recipe/cache.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. _cache_module:
2+
3+
:mod:`kazoo.recipe.cache`
4+
----------------------------
5+
6+
.. automodule:: kazoo.recipe.cache
7+
8+
Public API
9+
++++++++++
10+
11+
.. autoclass:: TreeCache
12+
13+
.. automethod:: start
14+
.. automethod:: close
15+
.. automethod:: listen
16+
.. automethod:: listen_fault
17+
.. automethod:: get_data
18+
.. automethod:: get_children
19+
20+
.. autoclass:: TreeEvent
21+
:members:
22+
:show-inheritance:
23+
24+
.. autoclass:: NodeData
25+
:members:
26+
:show-inheritance:

0 commit comments

Comments
 (0)