Click or drag to resize

ITimestampGeneratorNext Method

Returns the next timestamp in microseconds since UNIX epoch.

Implementers should enforce increasing monotonic timestamps, that is, a timestamp returned should always be strictly greater that any previously returned timestamp.

Implementers should strive to achieve microsecond precision in the best possible way, which is usually largely dependent on the underlying operating system's capabilities.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
long Next()

Return Value

Type: Int64
The next timestamp (in microseconds). When returning MinValue, the driver will not set the timestamp, letting Apache Cassandra generate a server-side timestamp.
See Also