Package | Description |
---|---|
com.fasterxml.uuid |
Package that contains core (non-optional) Java UUID Generator API classes.
|
com.fasterxml.uuid.impl |
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
variant 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). |
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.
|
Constructor and Description |
---|
TimeBasedGenerator(EthernetAddress ethAddr,
UUIDTimer timer) |
Copyright © 2020 FasterXML.com. All rights reserved.