Package org.apache.pekko.remote
Class SeqNo
java.lang.Object
org.apache.pekko.remote.SeqNo
- All Implemented Interfaces:
Serializable,Comparable<SeqNo>,scala.Equals,scala.math.Ordered<SeqNo>,scala.Product
public final class SeqNo
extends Object
implements scala.math.Ordered<SeqNo>, scala.Product, Serializable
Deprecated.
Classic remoting is deprecated, use Artery. Since Akka 2.6.0.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SeqNoapply(long rawValue) Deprecated.Implements a 64 bit sequence number with proper wrap-around ordering.booleanDeprecated.intDeprecated.copy(long rawValue) Deprecated.longDeprecated.booleanDeprecated.inthashCode()Deprecated.inc()Deprecated.Increments the sequence number.booleanisSuccessor(SeqNo that) Deprecated.Checks if this sequence number is an immediate successor of the provided one.static scala.math.Ordering<SeqNo>ord()Deprecated.intDeprecated.productElement(int x$1) Deprecated.productElementName(int x$1) Deprecated.scala.collection.Iterator<Object>Deprecated.Deprecated.longrawValue()Deprecated.toString()Deprecated.static scala.Option<Object>Deprecated.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
productElementNames
-
Constructor Details
-
SeqNo
public SeqNo(long rawValue) Deprecated.
-
-
Method Details
-
ord
Deprecated. -
apply
Deprecated.Implements a 64 bit sequence number with proper wrap-around ordering. -
unapply
Deprecated. -
rawValue
public long rawValue()Deprecated. -
isSuccessor
Deprecated.Checks if this sequence number is an immediate successor of the provided one.- Parameters:
that- The second sequence number that has to be exactly one less- Returns:
- true if this sequence number is the successor of the provided one
-
inc
Deprecated.Increments the sequence number. Wraps-around if 64 bit limit is reached.- Returns:
- the incremented sequence number
-
compare
Deprecated.- Specified by:
comparein interfacescala.math.Ordered<SeqNo>
-
toString
Deprecated. -
copy
Deprecated. -
copy$default$1
public long copy$default$1()Deprecated. -
productPrefix
Deprecated.- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()Deprecated.- Specified by:
productArityin interfacescala.Product
-
productElement
Deprecated.- Specified by:
productElementin interfacescala.Product
-
productIterator
Deprecated.- Specified by:
productIteratorin interfacescala.Product
-
canEqual
Deprecated.- Specified by:
canEqualin interfacescala.Equals
-
productElementName
Deprecated.- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode()Deprecated. -
equals
Deprecated.
-