add documentation for Cluster.timestamp_generator
This commit is contained in:
@@ -661,6 +661,17 @@ class Cluster(object):
|
|||||||
establishment, options passing, and authentication.
|
establishment, options passing, and authentication.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
timestamp_generator = None
|
||||||
|
"""
|
||||||
|
An object, shared between all sessions created by this cluster instance,
|
||||||
|
that generates timestamps when client-side timestamp generation is enabled.
|
||||||
|
By default, each :class:`Cluster` uses a new
|
||||||
|
:class:`~.MonotonicTimestampGenerator`.
|
||||||
|
|
||||||
|
Applications can set this value for custom timestamp behavior. See the
|
||||||
|
documentation for :meth:`Session.timestamp_generator`.
|
||||||
|
"""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def schema_metadata_enabled(self):
|
def schema_metadata_enabled(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -64,6 +64,8 @@
|
|||||||
.. autoattribute:: token_metadata_enabled
|
.. autoattribute:: token_metadata_enabled
|
||||||
:annotation: = True
|
:annotation: = True
|
||||||
|
|
||||||
|
.. autoattribute:: timestamp_generator
|
||||||
|
|
||||||
.. automethod:: connect
|
.. automethod:: connect
|
||||||
|
|
||||||
.. automethod:: shutdown
|
.. automethod:: shutdown
|
||||||
|
|||||||
Reference in New Issue
Block a user