wvlet.airframe.ulid.ULID$
See theULID companion class ULID generator implementation based on https://github.com/petitviolet/ulid4s
ULID has 128 bit value: |-- Unix timestamp milliseconds (48-bit) ---- | ----- random value (80 bits) ------ |
The string representation of ULID uses 26 characters in Crockford Base 32 representation, each character of which
represents 5-bit value (0-31).
Attributes
- Companion:
- class
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Self type
Members list
Concise view
Type members
Attributes
- random
a function that returns a 80-bit random values in Array[Byte] (size:10)
- timeSource
a function that returns the current time in milliseconds (e.g. java.lang.System.currentTimeMillis())
- Graph
- Supertypes
class Object
trait Matchable
class Any
Value members
Create a new ULID from a given string of size 26
Create a new ULID from a given string of size 26
Attributes
The default secure random-based ULID Generator
The default secure random-based ULID Generator
Attributes
Create a ne ULID from a byte sequence (16-bytes)
Create a ne ULID from a byte sequence (16-bytes)
Attributes
Create a ne ULID from a byte sequence (16-bytes)
Create a ne ULID from a byte sequence (16-bytes)
Attributes
Create a new ULID from a given string of size 26
Create a new ULID from a given string of size 26
Attributes
check a given string is valid as ULID
check a given string is valid as ULID
Attributes
Return a fast ULID generator, but with a reduced randomness
Return a fast ULID generator, but with a reduced randomness
Attributes
Create an ULID from a given timestamp (48-bit) and a random value (80-bit)
Create an ULID from a given timestamp (48-bit) and a random value (80-bit)
Attributes
- randHi
16-bit hi-part of 80-bit random value
- randLow
64-bit low-part of 80-bit random value
- unixTimeMillis
48-bit unix time millis
Create a new ULID from a given unix time in milli seconds
Create a new ULID from a given unix time in milli seconds
Attributes
Set the default ULIDGenerator that will be used for ULID.newULID.
Set the default ULIDGenerator that will be used for ULID.newULID.
Attributes
Use the default secura-random based ULID generator.
Use the default secura-random based ULID generator.
Attributes
Use the fast ULID generator by default with reduced randomness
Use the fast ULID generator by default with reduced randomness
Attributes