final case class SeqNo(rawValue: Long) extends Ordered[SeqNo] with Product with Serializable

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

Source
AckedDelivery.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SeqNo
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Ordered
  7. Comparable
  8. AnyRef
  9. Any
Implicitly
  1. by orderingToOrdered
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SeqNo(rawValue: Long)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SeqNo to any2stringadd[SeqNo] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SeqNo, B)
    Implicit
    This member is added by an implicit conversion from SeqNo to ArrowAssoc[SeqNo] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def <(that: SeqNo): Boolean
    Definition Classes
    Ordered
  6. def <=(that: SeqNo): Boolean
    Definition Classes
    Ordered
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def >(that: SeqNo): Boolean
    Definition Classes
    Ordered
  9. def >=(that: SeqNo): Boolean
    Definition Classes
    Ordered
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  12. def compare(that: SeqNo): Int
    Definition Classes
    SeqNo → Ordered
  13. def compareTo(that: SeqNo): Int
    Definition Classes
    Ordered → Comparable
  14. def ensuring(cond: (SeqNo) ⇒ Boolean, msg: ⇒ Any): SeqNo
    Implicit
    This member is added by an implicit conversion from SeqNo to Ensuring[SeqNo] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (SeqNo) ⇒ Boolean): SeqNo
    Implicit
    This member is added by an implicit conversion from SeqNo to Ensuring[SeqNo] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): SeqNo
    Implicit
    This member is added by an implicit conversion from SeqNo to Ensuring[SeqNo] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): SeqNo
    Implicit
    This member is added by an implicit conversion from SeqNo to Ensuring[SeqNo] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SeqNo to StringFormat[SeqNo] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def inc: SeqNo

    Increments the sequence number.

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

    returns

    the incremented sequence number

  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. 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

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. val rawValue: Long
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    SeqNo → AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def [B](y: B): (SeqNo, B)
    Implicit
    This member is added by an implicit conversion from SeqNo to ArrowAssoc[SeqNo] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def <(that: SeqNo): Boolean
    Implicit
    This member is added by an implicit conversion from SeqNo to Ordered[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
  2. def <=(that: SeqNo): Boolean
    Implicit
    This member is added by an implicit conversion from SeqNo to Ordered[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
  3. def >(that: SeqNo): Boolean
    Implicit
    This member is added by an implicit conversion from SeqNo to Ordered[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
  4. def >=(that: SeqNo): Boolean
    Implicit
    This member is added by an implicit conversion from SeqNo to Ordered[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
  5. def compare(that: SeqNo): Int
    Implicit
    This member is added by an implicit conversion from SeqNo to Ordered[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
  6. def compareTo(that: SeqNo): Int
    Implicit
    This member is added by an implicit conversion from SeqNo to Ordered[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

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[SeqNo]

Inherited from Comparable[SeqNo]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion orderingToOrdered from SeqNo to Ordered[SeqNo]

Inherited by implicit conversion any2stringadd from SeqNo to any2stringadd[SeqNo]

Inherited by implicit conversion StringFormat from SeqNo to StringFormat[SeqNo]

Inherited by implicit conversion Ensuring from SeqNo to Ensuring[SeqNo]

Inherited by implicit conversion ArrowAssoc from SeqNo to ArrowAssoc[SeqNo]

Ungrouped