clock property
int
clock
Returns the clock sequence, which varies based on version.
- For UuidVersion.v1; avoids duplicates when the clock/node ID changes.
- For UuidVersion.v3 or UuidVersion.v5; 14-bit value from a name.
- For UuidVersion.v4, a (pseudo)-randomly generated 14-bit value.
The clock sequence must be originally (i.e., once in the lifetime of a system) initialized to a random number to minimize the correlation across systems.
Implementation
int get clock;