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 static UUIDTimer |
Generators._sharedTimer
If no explicit timer (and synchronizer it implicitly uses) is specified,
we will create and use a single lazily-constructed timer, which uses in-JVM
synchronization but no external file-based syncing.
|
Modifier and Type | Method and Description |
---|---|
static TimeBasedGenerator |
Generators.timeBasedGenerator(EthernetAddress ethernetAddress,
UUIDTimer timer)
Factory method for constructing UUID generator that generates UUID using
version 1 (time+location based), using specified Ethernet address
as the location part of UUID, and specified
UUIDTimer instance
(which includes embedded synchronizer that defines synchronization behavior). |
static TimeBasedReorderedGenerator |
Generators.timeBasedReorderedGenerator(EthernetAddress ethernetAddress,
UUIDTimer timer)
Factory method for constructing UUID generator that generates UUID using
version 6 (time+location based, reordered for DB locality), using specified
Ethernet address as the location part of UUID, and specified
UUIDTimer instance (which includes embedded synchronizer that defines
synchronization behavior). |
Modifier and Type | Field and Description |
---|---|
protected UUIDTimer |
TimeBasedGenerator._timer
Object used for synchronizing access to timestamps, to guarantee
that timestamps produced by this generator are unique and monotonically increasings.
|
protected UUIDTimer |
TimeBasedReorderedGenerator._timer
Object used for synchronizing access to timestamps, to guarantee
that timestamps produced by this generator are unique and monotonically increasings.
|
Constructor and Description |
---|
TimeBasedGenerator(EthernetAddress ethAddr,
UUIDTimer timer) |
TimeBasedReorderedGenerator(EthernetAddress ethAddr,
UUIDTimer timer) |
Copyright © 2023 FasterXML.com. All rights reserved.