Package org.infinispan.topology
Class PersistentUUID
java.lang.Object
org.infinispan.topology.PersistentUUID
- All Implemented Interfaces:
Comparable<Address>,Address
PersistentUUID. A special
Address UUID whose purpose is to remain unchanged across node
restarts when using global state.- Since:
- 8.1
- Author:
- Tristan Tarrant
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.infinispan.remoting.transport.Address
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic PersistentUUIDfromString(String name) longlonginthashCode()static PersistentUUIDtoString()
-
Constructor Details
-
PersistentUUID
public PersistentUUID(long msb, long lsb)
-
-
Method Details
-
randomUUID
-
fromString
-
getMostSignificantBits
public long getMostSignificantBits() -
getLeastSignificantBits
public long getLeastSignificantBits() -
compareTo
- Specified by:
compareToin interfaceComparable<Address>
-
hashCode
public int hashCode() -
toString
-
equals
-