public class SiteUUID extends ExtendedUUID implements SiteAddress
| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
NAME |
protected static byte[] |
SITE_NAME |
can_become_site_master, flags, keys, site_master, valuescache, leastSigBits, mostSigBits, numberGenerator, print_function, print_uuids, SIZE| Constructor and Description |
|---|
SiteUUID() |
SiteUUID(long mostSigBits,
long leastSigBits,
byte[] name,
byte[] site) |
SiteUUID(long mostSigBits,
long leastSigBits,
String name,
String site) |
SiteUUID(UUID uuid,
String name,
String site) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Address other)
Compares this UUID with the specified UUID.
|
UUID |
copy() |
String |
getName() |
String |
getSite()
Returns the ID of the site (all sites need to have a unique site ID)
|
String |
print(boolean detailed) |
protected String |
printOthers() |
String |
toString() |
addContents, clearFlag, flagsToString, get, get, isFlagSet, keyExists, keyExists, length, print, put, put, put, randomUUID, randomUUID, read, readExternal, readFrom, remove, remove, resize, setFlag, size, sizeofHashMap, write, writeExternal, writeToadd, add, digits, equals, fromString, generateRandomBytes, get, getByName, getContents, getLeastSignificantBits, getMostSignificantBits, hashCode, printCache, remove, removeAll, retainAll, toStringLongclone, finalize, getClass, notify, notifyAll, wait, wait, waitreadFrom, writeToreadExternal, writeExternalprotected static final byte[] NAME
protected static final byte[] SITE_NAME
public SiteUUID()
public SiteUUID(long mostSigBits,
long leastSigBits,
byte[] name,
byte[] site)
public String getName()
public String getSite()
SiteAddressgetSite in interface SiteAddresspublic String toString()
toString in class ExtendedUUIDpublic int compareTo(Address other)
UUIDThe first of two UUIDs is greater than the second if the most significant field in which the UUIDs differ is greater for the first UUID.
compareTo in interface Comparable<Address>compareTo in class UUIDother - UUID to which this UUID is to be comparedUUID is less than, equal to, or greater than valpublic String print(boolean detailed)
protected String printOthers()
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.