A generator is used to create client-timestamps (in the form of long integers) to send with C* requests when the :client_timestamps cluster option is set to true.

Abstract
A timestamp generator given to cluster doesn’t need to include this module, but needs to implement the same methods. This module exists only for documentation purposes.

Mixed into

Classes

Methods

next

Create a new timestamp, as a 64-bit integer. Calls must return monotonically increasing values.

Returns:
Type Details
Integer an integer representing a timestamp in microseconds.
Raises:
Type Details
NotImplementedError if a class including this module does not define this method.