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_ID
can_become_site_master, flags, keys, site_master, values
cache, 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, setSiteId
addContents, 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, writeTo
add, add, compareTo, copy, digits, equals, fromString, generateRandomBytes, get, getByName, getContents, getLeastSignificantBits, getMostSignificantBits, hashCode, printCache, remove, removeAll, retainAll, toStringLong
public CanBeSiteMasterTopology()
protected CanBeSiteMasterTopology(TopologyUUID uuid, boolean can_become_site_master)