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 SeqNo
apply(long rawValue)
Deprecated.Implements a 64 bit sequence number with proper wrap-around ordering.boolean
canEqual(java.lang.Object x$1)
Deprecated.int
compare(SeqNo that)
Deprecated.SeqNo
copy(long rawValue)
Deprecated.long
copy$default$1()
Deprecated.boolean
equals(java.lang.Object x$1)
Deprecated.int
hashCode()
Deprecated.SeqNo
inc()
Deprecated.Increments the sequence number.boolean
isSuccessor(SeqNo that)
Deprecated.Checks if this sequence number is an immediate successor of the provided one.static scala.math.Ordering<SeqNo>
ord()
Deprecated.int
productArity()
Deprecated.java.lang.Object
productElement(int x$1)
Deprecated.java.lang.String
productElementName(int x$1)
Deprecated.scala.collection.Iterator<java.lang.Object>
productIterator()
Deprecated.java.lang.String
productPrefix()
Deprecated.long
rawValue()
Deprecated.java.lang.String
toString()
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:
compare
in interfacescala.math.Ordered<SeqNo>
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in 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:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
Deprecated.- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
Deprecated.- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
Deprecated.- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
Deprecated.- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
Deprecated.- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
Deprecated.- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-