Click or drag to resize
AtomicMonotonicWinApiTimestampGenerator Class
A timestamp generator that guarantees monotonically increasing timestamps among all client threads and logs warnings when timestamps drift in the future, using Win API high precision GetSystemTimePreciseAsFileTime() method call available in Windows 8+ and Windows Server 2012+.
Inheritance Hierarchy
SystemObject
  DseAtomicMonotonicTimestampGenerator
    DseAtomicMonotonicWinApiTimestampGenerator

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 2.1.0
Syntax
C#
public class AtomicMonotonicWinApiTimestampGenerator : AtomicMonotonicTimestampGenerator

The AtomicMonotonicWinApiTimestampGenerator type exposes the following members.

Constructors
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNext
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.

(Inherited from AtomicMonotonicTimestampGenerator.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference