UTCMillisecondIdGenerator

Ecng.Common

Identifier generator based on the current Unix time in milliseconds (UTC).

Inherits: IdGenerator

Methods

GetNextId
public override long GetNextId()
result = uTCMillisecondIdGenerator.GetNextId()

Gets the next identifier based on Unix time in milliseconds.

Returns: The Unix timestamp in milliseconds.