Package | Description |
---|---|
com.fasterxml.uuid |
Package that contains classes that define Java UUID Generator API.
|
com.fasterxml.uuid.impl |
Package that contains actual Java UUID Generator implementation classes,
including generators for different UUID types.
|
Modifier and Type | Field and Description |
---|---|
protected UUIDClock |
UUIDTimer._clock
Clock used to get the time when a timestamp is requested.
|
Modifier and Type | Method and Description |
---|---|
static UUIDClock |
UUIDClock.systemTimeClock() |
Modifier and Type | Method and Description |
---|---|
static TimeBasedEpochGenerator |
Generators.timeBasedEpochGenerator(Random random,
UUIDClock clock)
Factory method for constructing UUID generator that generates UUID using
version 7 (Unix Epoch time+random based), using specified
Random
number generato. |
Constructor and Description |
---|
UUIDTimer(Random rnd,
TimestampSynchronizer sync,
UUIDClock clock) |
Modifier and Type | Field and Description |
---|---|
protected UUIDClock |
TimeBasedEpochGenerator._clock
Underlying
UUIDClock used for accessing current time, to use for
generation. |
Constructor and Description |
---|
TimeBasedEpochGenerator(Random rnd,
UUIDClock clock) |
Copyright © 2023 FasterXML.com. All rights reserved.