Package org.apache.pekko.remote
Class SeqNo
- java.lang.Object
-
- org.apache.pekko.remote.SeqNo
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SeqNo>,scala.Equals,scala.math.Ordered<SeqNo>,scala.Product
public final class SeqNo extends java.lang.Object implements scala.math.Ordered<SeqNo>, scala.Product, java.io.Serializable
Deprecated.Classic remoting is deprecated, use Artery. Since Akka 2.6.0.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SeqNo(long rawValue)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SeqNoapply(long rawValue)Deprecated.Implements a 64 bit sequence number with proper wrap-around ordering.booleancanEqual(java.lang.Object x$1)Deprecated.intcompare(SeqNo that)Deprecated.SeqNocopy(long rawValue)Deprecated.longcopy$default$1()Deprecated.booleanequals(java.lang.Object x$1)Deprecated.inthashCode()Deprecated.SeqNoinc()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.intproductArity()Deprecated.java.lang.ObjectproductElement(int x$1)Deprecated.java.lang.StringproductElementName(int x$1)Deprecated.scala.collection.Iterator<java.lang.Object>productIterator()Deprecated.java.lang.StringproductPrefix()Deprecated.longrawValue()Deprecated.java.lang.StringtoString()Deprecated.static scala.Option<java.lang.Object>unapply(SeqNo x$0)Deprecated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
ord
public static scala.math.Ordering<SeqNo> ord()
Deprecated.
-
apply
public static SeqNo apply(long rawValue)
Deprecated.Implements a 64 bit sequence number with proper wrap-around ordering.
-
unapply
public static scala.Option<java.lang.Object> unapply(SeqNo x$0)
Deprecated.
-
rawValue
public long rawValue()
Deprecated.
-
isSuccessor
public boolean isSuccessor(SeqNo that)
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
public SeqNo inc()
Deprecated.Increments the sequence number. Wraps-around if 64 bit limit is reached.- Returns:
- the incremented sequence number
-
compare
public int compare(SeqNo that)
Deprecated.- Specified by:
comparein interfacescala.math.Ordered<SeqNo>
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
copy
public SeqNo copy(long rawValue)
Deprecated.
-
copy$default$1
public long copy$default$1()
Deprecated.
-
productPrefix
public java.lang.String productPrefix()
Deprecated.- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
Deprecated.- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
Deprecated.- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
Deprecated.- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
Deprecated.- Specified by:
canEqualin interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
Deprecated.- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
Deprecated.- Specified by:
equalsin interfacescala.Equals- Overrides:
equalsin classjava.lang.Object
-
-