ITimestampGenerator Interface |
Given that Apache Cassandra uses those timestamps to resolve conflicts, implementations should generate monotonically increasing timestamps for successive invocations of Next.
Namespace: Cassandra
public interface ITimestampGenerator
The ITimestampGenerator type exposes the following members.
Name | Description | |
---|---|---|
Next |
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. |