Skip to content

Commit 69830d3

Browse files
committed
Add new api attributes and functions to docs.
1 parent 39fbdfb commit 69830d3

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

cassandra/cluster.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,9 @@ def set_meta_refresh_enabled(self, enabled):
11541154
This applies to both schema and node topology.
11551155
11561156
Disabling this is useful to minimize refreshes during multiple changes.
1157+
1158+
Meta refresh must be enabled for the driver to become aware of any cluster
1159+
topology changes or schema updates.
11571160
"""
11581161
self.control_connection.set_meta_refresh_enabled(bool(enabled))
11591162

docs/api/cassandra/cluster.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141

4242
.. autoattribute:: idle_heartbeat_interval
4343

44+
.. autoattribute:: schema_event_refresh_window
45+
46+
.. autoattribute:: topology_event_refresh_window
47+
4448
.. automethod:: connect
4549

4650
.. automethod:: shutdown
@@ -61,6 +65,11 @@
6165

6266
.. automethod:: refresh_schema
6367

68+
.. automethod:: refresh_nodes
69+
70+
.. automethod:: set_meta_refresh_enabled
71+
72+
6473
.. autoclass:: Session ()
6574

6675
.. autoattribute:: default_timeout

0 commit comments

Comments
 (0)