Class TopologyUUID

java.lang.Object
org.jgroups.util.UUID
org.jgroups.util.TopologyUUID
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Comparable<Address>, Address, Streamable

public class TopologyUUID extends UUID
Subclass of UUID which adds 3 strings (siteId, rackId and machineId)as payload. An instance of this can be fed to JChannel.setAddressGenerator(org.jgroups.stack.AddressGenerator), with the address generator creating TopologyUUIDs.

Mainly used by TopologyAwareConsistentHash in Infinispan (www.infinispan.org).

Author:
Bela Ban
See Also: