add documentation for Cluster.timestamp_generator

This commit is contained in:
Jim Witschey
2017-02-21 13:41:59 -05:00
parent 62852296c8
commit 03a2636f33
2 changed files with 13 additions and 0 deletions

View File

@@ -661,6 +661,17 @@ class Cluster(object):
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
def schema_metadata_enabled(self):
"""

View File

@@ -64,6 +64,8 @@
.. autoattribute:: token_metadata_enabled
:annotation: = True
.. autoattribute:: timestamp_generator
.. automethod:: connect
.. automethod:: shutdown