UTCSecondIdGenerator

Ecng.Common

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

継承元: IdGenerator

メソッド

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

Gets the next identifier based on Unix time in seconds.

戻り値: The Unix timestamp in seconds.