Package | Description |
---|---|
com.fasterxml.uuid |
Package that contains classes that define Java UUID Generator API.
|
com.fasterxml.uuid.ext |
Package that contains optional Java UUID Generator classes,
ones that depend on optional external packages (like slf4j)
|
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
version 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 © 2023 FasterXML.com. All rights reserved.