Package | Description |
---|---|
com.fasterxml.uuid |
Package that contains core (non-optional) Java UUID Generator API classes.
|
com.fasterxml.uuid.ext |
Package that contains optional Java UUID Generator classes; classes that:
Depend on optional external packages; like log4j or java.util.logging -
based Logger adapters (java.util.logging itself was added in JDK 1.4)
|
Modifier and Type | Field and Description |
---|---|
protected TimestampSynchronizer |
UUIDTimer._syncer
Object used to reliably ensure that no multiple JVMs
generate UUIDs, and also that the time stamp value used for
generating time-based UUIDs is monotonically increasing
even if system clock moves backwards over a reboot (usually
due to some system level problem).
|
Modifier and Type | Method and Description |
---|---|
static TimeBasedGenerator |
Generators.timeBasedGenerator(EthernetAddress ethernetAddress,
TimestampSynchronizer sync)
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 synchronizer (which may add
additional restrictions to guarantee system-wide uniqueness).
|
Constructor and Description |
---|
UUIDTimer(Random rnd,
TimestampSynchronizer sync) |
UUIDTimer(Random rnd,
TimestampSynchronizer sync,
UUIDClock clock) |
Modifier and Type | Class and Description |
---|---|
class |
FileBasedTimestampSynchronizer
Implementation of
TimestampSynchronizer , which uses file system
as the storage and locking mechanism. |
Copyright © 2020 FasterXML.com. All rights reserved.