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
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- SeqNo
- Serializable
- Serializable
- Product
- Equals
- Ordered
- Comparable
- AnyRef
- Any
Implicitly
- by orderingToOrdered
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val rawValue: Long
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SeqNo → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (SeqNo, B)
Shadowed Implicit Value Members
-
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
-
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
-
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
-
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
-
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
-
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