final case class SeqNo(rawValue: Long) extends Ordered[SeqNo] with Product with Serializable
Implements a 64 bit sequence number with proper wrap-around ordering.
- Annotations
- @deprecated
- Deprecated
(Since version Akka 2.6.0) Classic remoting is deprecated, use Artery
- Source
- AckedDelivery.scala
- Alphabetic
- By Inheritance
- SeqNo
- Serializable
- Product
- Equals
- Ordered
- Comparable
- AnyRef
- Any
- by orderingToOrdered
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (SeqNo, B)
- def <(that: SeqNo): Boolean
- Definition Classes
- Ordered
- def <=(that: SeqNo): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >(that: SeqNo): Boolean
- Definition Classes
- Ordered
- def >=(that: SeqNo): Boolean
- Definition Classes
- Ordered
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def compare(that: SeqNo): Int
- Definition Classes
- SeqNo → Ordered
- def compareTo(that: SeqNo): Int
- Definition Classes
- Ordered → Comparable
- def ensuring(cond: (SeqNo) => Boolean, msg: => Any): SeqNo
- def ensuring(cond: (SeqNo) => Boolean): SeqNo
- def ensuring(cond: Boolean, msg: => Any): SeqNo
- def ensuring(cond: Boolean): SeqNo
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def inc: SeqNo
Increments the sequence number.
Increments the sequence number. Wraps-around if 64 bit limit is reached.
- returns
the incremented sequence number
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rawValue: Long
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- SeqNo → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Shadowed Implicit Value Members
- def <(that: SeqNo): Boolean
- Implicit
- This member is added by an implicit conversion from SeqNo toOrdered[SeqNo] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(seqNo: Ordered[SeqNo]).<(that)
- Definition Classes
- Ordered
- def <=(that: SeqNo): Boolean
- Implicit
- This member is added by an implicit conversion from SeqNo toOrdered[SeqNo] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(seqNo: Ordered[SeqNo]).<=(that)
- Definition Classes
- Ordered
- def >(that: SeqNo): Boolean
- Implicit
- This member is added by an implicit conversion from SeqNo toOrdered[SeqNo] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(seqNo: Ordered[SeqNo]).>(that)
- Definition Classes
- Ordered
- def >=(that: SeqNo): Boolean
- Implicit
- This member is added by an implicit conversion from SeqNo toOrdered[SeqNo] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(seqNo: Ordered[SeqNo]).>=(that)
- Definition Classes
- Ordered
- def compare(that: SeqNo): Int
- Implicit
- This member is added by an implicit conversion from SeqNo toOrdered[SeqNo] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(seqNo: Ordered[SeqNo]).compare(that)
- Definition Classes
- Ordered
- def compareTo(that: SeqNo): Int
- Implicit
- This member is added by an implicit conversion from SeqNo toOrdered[SeqNo] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(seqNo: Ordered[SeqNo]).compareTo(that)
- Definition Classes
- Ordered → Comparable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SeqNo toStringFormat[SeqNo] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (SeqNo, B)
- Implicit
- This member is added by an implicit conversion from SeqNo toArrowAssoc[SeqNo] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.