nupp.util.spi
Implementation interfaces consumed during ordinary module initialization. Discover with nupp.spi.load; the consumer chooses the unique highest priority. Omitted priority is zero. Importing these declarations loads no implementation.
Module contents
Types
| Type | Kind | Description |
|---|---|---|
UuidProvider | interface | Canonical lowercase, hyphenated UUID generation for nupp.util. |
Types#
UuidProviderinterface#
interface UuidProvider ...Canonical lowercase, hyphenated UUID generation for nupp.util.
Version 4 provides random UUIDs and version 7 provides time-ordered UUIDs. Version and variant bits must be correct; randomness failures must be reported.
Members
| Name | Kind | Description |
|---|---|---|
priority | field | |
uuid4 | method | Generates a random version 4 UUID. |
uuid7 | method | Generates a time-ordered version 7 UUID. |