UTCMillisecondIdGenerator

Ecng.Common

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

继承自: IdGenerator

方法

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

Gets the next identifier based on Unix time in milliseconds.

返回值: The Unix timestamp in milliseconds.