- FileBasedTimestampSynchronizer - Class in com.fasterxml.uuid.ext
-
- FileBasedTimestampSynchronizer() - Constructor for class com.fasterxml.uuid.ext.FileBasedTimestampSynchronizer
-
Constructor that uses default values for names of files to use
(files will get created in the current working directory), as
well as for the update frequency value (10 seconds).
- FileBasedTimestampSynchronizer(File, File) - Constructor for class com.fasterxml.uuid.ext.FileBasedTimestampSynchronizer
-
- FileBasedTimestampSynchronizer(File, File, long) - Constructor for class com.fasterxml.uuid.ext.FileBasedTimestampSynchronizer
-
- FileSyncTest - Class in test
-
Simple manual utility test class for manually checking whether file-based
synchronization seems to be working or not.
- FileSyncTest() - Constructor for class test.FileSyncTest
-
- fromAggregate(EgressInterfaceFinder.Finder[]) - Method in class com.fasterxml.uuid.EgressInterfaceFinder
-
Attempt to find the default egress interface on the current system,
by trying each of the specified discovery mechanisms, in order, until
one of them succeeds.
- fromDefaultMechanisms(int) - Method in class com.fasterxml.uuid.EgressInterfaceFinder
-
Attempt to find the default egress interface on the current system,
using the specified connection timeout duration.
- fromEgressInterface() - Static method in class com.fasterxml.uuid.EthernetAddress
-
A factory method that will try to determine the ethernet address of
the network interface that connects to the default network gateway.
- fromInterface() - Static method in class com.fasterxml.uuid.EthernetAddress
-
Factory method that locates a network interface that has
a suitable mac address (ethernet cards, and things that
emulate one), and return that address.
- fromInterface(NetworkInterface) - Static method in class com.fasterxml.uuid.EthernetAddress
-
A factory method to return the ethernet address of a specified network interface.
- fromLocalAddress(InetAddress) - Method in class com.fasterxml.uuid.EgressInterfaceFinder
-
Attempt to find the default egress interface on the current system, by
finding a
NetworkInterface
that has the specified network
address.
- fromPreferredInterface() - Static method in class com.fasterxml.uuid.EthernetAddress
-
Factory method that locates a network interface that has
a suitable mac address (ethernet cards, and things that
emulate one), and return that address.
- fromRemoteConnection(int, InetSocketAddress) - Method in class com.fasterxml.uuid.EgressInterfaceFinder
-
Attempt to find the default egress interface on the current system,
by connection to the specified address.
- fromRemoteDatagramSocketConnection(InetSocketAddress) - Method in class com.fasterxml.uuid.EgressInterfaceFinder
-
Attempt to find the default egress interface on the current system,
using the specified connection timeout duration and connecting with
a
DatagramSocket
.
- fromRemoteSocketConnection(int, InetSocketAddress) - Method in class com.fasterxml.uuid.EgressInterfaceFinder
-
Attempt to find the default egress interface on the current system,
using the specified connection timeout duration and connecting with
a
Socket
.
- fromRootNameserverConnection(int) - Method in class com.fasterxml.uuid.EgressInterfaceFinder
-
Attempt to find the default egress interface on the current system,
by connecting to one of the root name servers (chosen at random).
- nameBasedGenerator() - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that uses specified
random number generator for constructing UUIDs according to standard
version 5, but without using a namespace.
- nameBasedGenerator(UUID) - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that uses specified
random number generator for constructing UUIDs according to standard
version 5, with specified namespace (or without one if null
is specified).
- nameBasedGenerator(UUID, MessageDigest) - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that uses specified
random number generator for constructing UUIDs according to standard
version 3 or 5, with specified namespace (or without one if null
is specified), using specified digester.
- NameBasedGenerator - Class in com.fasterxml.uuid.impl
-
Implementation of UUID generator that uses one of name-based generation methods
(versions 3 (MD5) and 5 (SHA1)).
- NameBasedGenerator(UUID, MessageDigest, UUIDType) - Constructor for class com.fasterxml.uuid.impl.NameBasedGenerator
-
- NAMESPACE_DNS - Static variable in class com.fasterxml.uuid.impl.NameBasedGenerator
-
Namespace used when name is a DNS name.
- NAMESPACE_OID - Static variable in class com.fasterxml.uuid.impl.NameBasedGenerator
-
Namespace used when name is an OID.
- NAMESPACE_URL - Static variable in class com.fasterxml.uuid.impl.NameBasedGenerator
-
Namespace used when name is a URL.
- NAMESPACE_X500 - Static variable in class com.fasterxml.uuid.impl.NameBasedGenerator
-
Namespace used when name is an X500 identifier
- nilUUID() - Static method in class com.fasterxml.uuid.impl.UUIDUtil
-
Accessor for so-call "Nil UUID" (see
RFC 4122/4.1.7;
one that is all zeroes.
- NoArgGenerator - Class in com.fasterxml.uuid
-
Intermediate base class for UUID generators that do not take arguments for individual
calls.
- NoArgGenerator() - Constructor for class com.fasterxml.uuid.NoArgGenerator
-
- test - package test
-
- test() - Method in class perf.MeasurePerformance
-
- timeBasedEpochGenerator() - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that generates UUID using
version 7 (Unix Epoch time+random based).
- timeBasedEpochGenerator(Random) - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that generates UUID using
version 7 (Unix Epoch time+random based), using specified
Random
number generator.
- timeBasedEpochGenerator(Random, UUIDClock) - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that generates UUID using
version 7 (Unix Epoch time+random based), using specified
Random
number generator.
- TimeBasedEpochGenerator - Class in com.fasterxml.uuid.impl
-
Implementation of UUID generator that uses time/location based generation
method field from the Unix Epoch timestamp source - the number of
milliseconds seconds since midnight 1 Jan 1970 UTC, leap seconds excluded.
- TimeBasedEpochGenerator(Random) - Constructor for class com.fasterxml.uuid.impl.TimeBasedEpochGenerator
-
- TimeBasedEpochGenerator(Random, UUIDClock) - Constructor for class com.fasterxml.uuid.impl.TimeBasedEpochGenerator
-
- timeBasedEpochRandomGenerator() - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that generates UUID using
version 7 (Unix Epoch time+random based).
- timeBasedEpochRandomGenerator(Random) - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that generates UUID using
version 7 (Unix Epoch time+random based), using specified
Random
number generator.
- timeBasedEpochRandomGenerator(Random, UUIDClock) - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that generates UUID using
version 7 (Unix Epoch time+random based), using specified
Random
number generator.
- TimeBasedEpochRandomGenerator - Class in com.fasterxml.uuid.impl
-
Implementation of UUID generator that uses time/location based generation
method field from the Unix Epoch timestamp source - the number of
milliseconds seconds since midnight 1 Jan 1970 UTC, leap seconds excluded.
- TimeBasedEpochRandomGenerator(Random) - Constructor for class com.fasterxml.uuid.impl.TimeBasedEpochRandomGenerator
-
- TimeBasedEpochRandomGenerator(Random, UUIDClock) - Constructor for class com.fasterxml.uuid.impl.TimeBasedEpochRandomGenerator
-
- timeBasedGenerator() - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that generates UUID using
version 1 (time+location based).
- timeBasedGenerator(EthernetAddress) - Static method in class com.fasterxml.uuid.Generators
-
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.
- timeBasedGenerator(EthernetAddress, TimestampSynchronizer) - Static method in class com.fasterxml.uuid.Generators
-
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).
- timeBasedGenerator(EthernetAddress, UUIDTimer) - Static method in class com.fasterxml.uuid.Generators
-
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).
- TimeBasedGenerator - Class in com.fasterxml.uuid.impl
-
Implementation of UUID generator that uses time/location based generation
method (version 1).
- TimeBasedGenerator(EthernetAddress, UUIDTimer) - Constructor for class com.fasterxml.uuid.impl.TimeBasedGenerator
-
- timeBasedReorderedGenerator() - Static method in class com.fasterxml.uuid.Generators
-
Factory method for constructing UUID generator that generates UUID using
version 6 (time+location based, reordered for DB locality).
- timeBasedReorderedGenerator(EthernetAddress) - Static method in class com.fasterxml.uuid.Generators
-
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.
- timeBasedReorderedGenerator(EthernetAddress, UUIDTimer) - Static method in class com.fasterxml.uuid.Generators
-
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).
- TimeBasedReorderedGenerator - Class in com.fasterxml.uuid.impl
-
Implementation of UUID generator that uses time/location based generation
method field compatible with UUIDv1, reorderd for improved DB locality.
- TimeBasedReorderedGenerator(EthernetAddress, UUIDTimer) - Constructor for class com.fasterxml.uuid.impl.TimeBasedReorderedGenerator
-
- TimestampSynchronizer - Class in com.fasterxml.uuid
-
This is the API for utility classes optionally used by
UUIDTimer
to
ensure that timestamp values used for generating time/location-based UUIDs
are monotonically increasing, as well as that only one such generator
is ever used on a single system, even in presence of multiple JVMs.
- TimestampSynchronizer() - Constructor for class com.fasterxml.uuid.TimestampSynchronizer
-
- timestampToEpoch(long) - Static method in class com.fasterxml.uuid.UUIDTimer
-
Converts a UUID v1 or v6 timestamp (where unit is 100 nanoseconds),
to Unix epoch timestamp (milliseconds since 01-Jan-1970 UTC)
- toByteArray() - Method in class com.fasterxml.uuid.EthernetAddress
-
Synonym to 'asByteArray()'
- toByteArray(byte[]) - Method in class com.fasterxml.uuid.EthernetAddress
-
- toByteArray(byte[], int) - Method in class com.fasterxml.uuid.EthernetAddress
-
- toByteArray(UUID, byte[]) - Static method in class com.fasterxml.uuid.impl.UUIDUtil
-
- toByteArray(UUID, byte[], int) - Static method in class com.fasterxml.uuid.impl.UUIDUtil
-
- toLong() - Method in class com.fasterxml.uuid.EthernetAddress
-
- toString() - Method in class com.fasterxml.uuid.EthernetAddress
-
Returns the canonical string representation of this ethernet address.
- typeOf(UUID) - Static method in class com.fasterxml.uuid.impl.UUIDUtil
-
Method for determining which type of UUID given UUID is.
- TYPES - Static variable in class com.fasterxml.uuid.Jug
-
- _address - Variable in class com.fasterxml.uuid.EthernetAddress
-
48-bit MAC address, stored in 6 lowest-significant bytes (in
big endian notation)
- _clock - Variable in class com.fasterxml.uuid.impl.TimeBasedEpochGenerator
-
Underlying
UUIDClock
used for accessing current time, to use for
generation.
- _clock - Variable in class com.fasterxml.uuid.impl.TimeBasedEpochRandomGenerator
-
Underlying
UUIDClock
used for accessing current time, to use for
generation.
- _clock - Variable in class com.fasterxml.uuid.UUIDTimer
-
Clock used to get the time when a timestamp is requested.
- _digester - Variable in class com.fasterxml.uuid.impl.NameBasedGenerator
-
Message digesster to use for hash calculation
- _ethernetAddress - Variable in class com.fasterxml.uuid.impl.TimeBasedGenerator
-
- _ethernetAddress - Variable in class com.fasterxml.uuid.impl.TimeBasedReorderedGenerator
-
- _namespace - Variable in class com.fasterxml.uuid.impl.NameBasedGenerator
-
Namespace to use as prefix.
- _preferredIfAddr - Static variable in class com.fasterxml.uuid.Generators
-
The hardware address of the egress network interface.
- _random - Variable in class com.fasterxml.uuid.impl.RandomBasedGenerator
-
Random number generator that this generator uses.
- _random - Variable in class com.fasterxml.uuid.impl.TimeBasedEpochGenerator
-
Random number generator that this generator uses.
- _random - Variable in class com.fasterxml.uuid.impl.TimeBasedEpochRandomGenerator
-
Random number generator that this generator uses.
- _random - Variable in class com.fasterxml.uuid.UUIDTimer
-
Random number generator used to generate additional information
to further reduce probability of collisions.
- _randomNumberGenerator() - Static method in class com.fasterxml.uuid.EthernetAddress
-
Helper method for accessing configured random number generator
- _rnd - Static variable in class com.fasterxml.uuid.EthernetAddress
-
We may need a random number generator, for creating dummy ethernet
address if no real interface is found.
- _secureRandom - Variable in class com.fasterxml.uuid.impl.RandomBasedGenerator
-
Looks like
SecureRandom
implementation is more efficient
using single call access (compared to basic
Random
),
so let's use that knowledge to our benefit.
- _sharedTimer - Static variable in class com.fasterxml.uuid.Generators
-
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.
- _syncer - Variable in class com.fasterxml.uuid.UUIDTimer
-
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).
- _timer - Variable in class com.fasterxml.uuid.impl.TimeBasedGenerator
-
Object used for synchronizing access to timestamps, to guarantee
that timestamps produced by this generator are unique and monotonically increasings.
- _timer - Variable in class com.fasterxml.uuid.impl.TimeBasedReorderedGenerator
-
Object used for synchronizing access to timestamps, to guarantee
that timestamps produced by this generator are unique and monotonically increasings.
- _toInt(byte[], int) - Static method in class com.fasterxml.uuid.UUIDGenerator
-
- _toLong(byte[], int) - Static method in class com.fasterxml.uuid.UUIDGenerator
-
- _toShort(byte[], int) - Static method in class com.fasterxml.uuid.UUIDGenerator
-
- _type - Variable in class com.fasterxml.uuid.impl.NameBasedGenerator
-
- _utf8 - Static variable in class com.fasterxml.uuid.impl.NameBasedGenerator
-
- _uuidL2 - Variable in class com.fasterxml.uuid.impl.TimeBasedGenerator
-
Base values for the second long (last 8 bytes) of UUID to construct
- _uuidL2 - Variable in class com.fasterxml.uuid.impl.TimeBasedReorderedGenerator
-
Base values for the second long (last 8 bytes) of UUID to construct