Package org.apache.pekko.cluster
Class UniqueAddress
java.lang.Object
org.apache.pekko.cluster.UniqueAddress
- All Implemented Interfaces:
Serializable,Comparable<UniqueAddress>,scala.Equals,scala.math.Ordered<UniqueAddress>,scala.Product
public final class UniqueAddress
extends Object
implements scala.Product, Serializable, scala.math.Ordered<UniqueAddress>
Member identifier consisting of address and random
uid.
The uid is needed to be able to distinguish different
incarnations of a member with same hostname and port.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress()static UniqueAddressstatic UniqueAddressapply(UniqueAddress remoteUniqueAddress) booleanintcompare(UniqueAddress that) booleaninthashCode()longlongUid()intproductElement(int n) toString()unapply(UniqueAddress address) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.math.Ordered
$greater, $greater$eq, $less, $less$eq, compareToMethods inherited from interface scala.Product
productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
UniqueAddress
-
-
Method Details
-
apply
-
apply
-
unapply
-
address
-
longUid
public long longUid() -
hashCode
public int hashCode() -
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
equals
-
toString
-
compare
- Specified by:
comparein interfacescala.math.Ordered<UniqueAddress>
-