public class SiteUUID extends ExtendedUUID implements SiteAddress
限定符和类型 | 字段和说明 |
---|---|
protected static byte[] |
NAME |
protected static byte[] |
SITE_NAME |
can_become_site_master, flags, keys, site_master, values
cache, leastSigBits, mostSigBits, numberGenerator, print_function, print_uuids, SIZE
构造器和说明 |
---|
SiteUUID() |
SiteUUID(long mostSigBits,
long leastSigBits,
byte[] name,
byte[] site) |
SiteUUID(long mostSigBits,
long leastSigBits,
java.lang.String name,
java.lang.String site) |
SiteUUID(UUID uuid,
java.lang.String name,
java.lang.String site) |
限定符和类型 | 方法和说明 |
---|---|
UUID |
copy() |
java.lang.String |
getName() |
java.lang.String |
getSite()
Returns the ID of the site (all sites need to have a unique site ID)
|
protected java.lang.String |
printOthers() |
java.lang.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, writeTo
add, add, compareTo, digits, equals, fromString, generateRandomBytes, get, getByName, getContents, getLeastSignificantBits, getMostSignificantBits, hashCode, printCache, remove, removeAll, retainAll, toStringLong
readFrom, writeTo
public SiteUUID()
public SiteUUID(long mostSigBits, long leastSigBits, java.lang.String name, java.lang.String site)
public SiteUUID(long mostSigBits, long leastSigBits, byte[] name, byte[] site)
public SiteUUID(UUID uuid, java.lang.String name, java.lang.String site)
public java.lang.String getName()
public java.lang.String getSite()
SiteAddress
getSite
在接口中 SiteAddress
public java.lang.String toString()
toString
在类中 ExtendedUUID
protected java.lang.String printOthers()