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 EthernetAddress |
Generators._preferredIfAddr
The hardware address of the egress network interface.
|
Modifier and Type | Method and Description |
---|---|
static EthernetAddress |
EthernetAddress.constructMulticastAddress()
Factory method that can be used to construct a random multicast
address; to be used in cases where there is no "real" ethernet
address to use.
|
static EthernetAddress |
EthernetAddress.constructMulticastAddress(Random rnd)
Factory method that can be used to construct a random multicast
address; to be used in cases where there is no "real" ethernet
address to use.
|
static EthernetAddress |
EthernetAddress.fromEgressInterface()
A factory method that will try to determine the ethernet address of
the network interface that connects to the default network gateway.
|
static EthernetAddress |
EthernetAddress.fromInterface()
Factory method that locates a network interface that has
a suitable mac address (ethernet cards, and things that
emulate one), and return that address.
|
static EthernetAddress |
EthernetAddress.fromInterface(NetworkInterface nint)
A factory method to return the ethernet address of a specified network interface.
|
static EthernetAddress |
EthernetAddress.fromPreferredInterface()
Factory method that locates a network interface that has
a suitable mac address (ethernet cards, and things that
emulate one), and return that address.
|
static EthernetAddress |
EthernetAddress.valueOf(byte[] addr)
Constructs a new EthernetAddress given the byte array that contains
binary representation of the address.
|
static EthernetAddress |
EthernetAddress.valueOf(int[] addr)
Constructs a new EthernetAddress given the byte array that contains
binary representation of the address.
|
static EthernetAddress |
EthernetAddress.valueOf(long addr)
Constructs a new EthernetAddress given the long int value (64-bit)
representation of the ethernet address (of which 48 LSB contain
the definition)
Note that calling this method returns the same result as would
using the matching constructor.
|
static EthernetAddress |
EthernetAddress.valueOf(String addrStr)
Constructs a new EthernetAddress given a string representation of
the ethernet address.
|
Modifier and Type | Method and Description |
---|---|
int |
EthernetAddress.compareTo(EthernetAddress other)
Method that compares this EthernetAddress to one passed in as
argument.
|
static TimeBasedGenerator |
Generators.timeBasedGenerator(EthernetAddress ethernetAddress)
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.
|
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).
|
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)
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.
|
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 EthernetAddress |
TimeBasedGenerator._ethernetAddress |
protected EthernetAddress |
TimeBasedReorderedGenerator._ethernetAddress |
Modifier and Type | Method and Description |
---|---|
EthernetAddress |
TimeBasedGenerator.getEthernetAddress() |
EthernetAddress |
TimeBasedReorderedGenerator.getEthernetAddress() |
Constructor and Description |
---|
TimeBasedGenerator(EthernetAddress ethAddr,
UUIDTimer timer) |
TimeBasedReorderedGenerator(EthernetAddress ethAddr,
UUIDTimer timer) |
Copyright © 2023 FasterXML.com. All rights reserved.