SeqNo

org.apache.pekko.remote.SeqNo
See theSeqNo companion object
final case class SeqNo(rawValue: Long) extends Ordered[SeqNo]

Implements a 64 bit sequence number with proper wrap-around ordering.

Attributes

Companion
object
Deprecated
true
Source
AckedDelivery.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Ordered[SeqNo]
trait Comparable[SeqNo]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def compare(that: SeqNo): Int

Attributes

Definition Classes
Source
AckedDelivery.scala
def inc: SeqNo

Increments the sequence number. Wraps-around if 64 bit limit is reached.

Increments the sequence number. Wraps-around if 64 bit limit is reached.

Attributes

Returns

the incremented sequence number

Source
AckedDelivery.scala
def isSuccessor(that: SeqNo): Boolean

Checks if this sequence number is an immediate successor of the provided one.

Checks if this sequence number is an immediate successor of the provided one.

Value parameters

that

The second sequence number that has to be exactly one less

Attributes

Returns

true if this sequence number is the successor of the provided one

Source
AckedDelivery.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
AckedDelivery.scala

Inherited methods

def <(that: SeqNo): Boolean

Attributes

Inherited from:
Ordered
def <=(that: SeqNo): Boolean

Attributes

Inherited from:
Ordered
def >(that: SeqNo): Boolean

Attributes

Inherited from:
Ordered
def >=(that: SeqNo): Boolean

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product