Skip to content

OrderedIdClockMode Enum ​

Defines the clock semantics used by OrderedIdGenerator when producing time-ordered 64-bit identifiers.

Namespace: JASE
Assembly: JASE.IdGenerator.dll

Underlying Type int

Fields ​

NameValueDescription
WallClock0Snowflake-compatible wall clock mode. Uses real UTC time as the authoritative timestamp source. Guarantees that decoded timestamps closely reflect actual UTC time.
LogicalClock1Bounded logical clock mode optimized for throughput. Uses a monotonic logical timestamp that may advance ahead of wall-clock time by a small, configurable bound. This mode preserves Snowflake bit layout and ordering guarantees, but decoded timestamps may be slightly ahead of real UTC time.