Appearance
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
| Name | Value | Description |
|---|---|---|
WallClock | 0 | Snowflake-compatible wall clock mode. Uses real UTC time as the authoritative timestamp source. Guarantees that decoded timestamps closely reflect actual UTC time. |
LogicalClock | 1 | Bounded 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. |