ExtendedUUID instead. This class will get dropped in 4.0.@Deprecated public class CanBeSiteMasterTopology extends TopologyUUID
TopologyUUID which adds a boolean as payload. The boolean indicates whether the
current address can ever become a site master, or not.MACHINE_ID, RACK_ID, SITE_IDcan_become_site_master, flags, keys, site_master, valuescache, leastSigBits, mostSigBits, numberGenerator, print_function, print_uuids, SIZE| 限定符 | 构造器和说明 |
|---|---|
|
CanBeSiteMasterTopology()
已过时。
|
protected |
CanBeSiteMasterTopology(TopologyUUID uuid,
boolean can_become_site_master)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canBecomeSiteMaster()
已过时。
|
getMachineId, getRackId, getSiteId, isSameMachine, isSameRack, isSameSite, randomUUID, randomUUID, setMachineId, setRackId, setSiteIdaddContents, clearFlag, flagsToString, get, get, isFlagSet, keyExists, keyExists, length, print, put, put, put, randomUUID, randomUUID, read, readExternal, readFrom, remove, remove, resize, setFlag, size, sizeofHashMap, toString, write, writeExternal, writeToadd, add, compareTo, copy, digits, equals, fromString, generateRandomBytes, get, getByName, getContents, getLeastSignificantBits, getMostSignificantBits, hashCode, printCache, remove, removeAll, retainAll, toStringLongpublic CanBeSiteMasterTopology()
protected CanBeSiteMasterTopology(TopologyUUID uuid, boolean can_become_site_master)