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
-
Field Summary
Fields inherited from interface org.infinispan.remoting.transport.Address
EMPTY_ARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
static PersistentUUID
fromString
(String name) long
long
int
hashCode()
static PersistentUUID
toString()
-
Constructor Details
-
PersistentUUID
public PersistentUUID(long msb, long lsb)
-
-
Method Details
-
randomUUID
-
fromString
-
getMostSignificantBits
public long getMostSignificantBits() -
getLeastSignificantBits
public long getLeastSignificantBits() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Address>
-
hashCode
public int hashCode() -
toString
-
equals
-