Package akka.remote

Class SeqNo

  • All Implemented Interfaces:, java.lang.Comparable<SeqNo>, scala.Equals, scala.math.Ordered<SeqNo>, scala.Product, scala.Serializable

    public final class SeqNo
    extends java.lang.Object
    implements scala.math.Ordered<SeqNo>, scala.Product, scala.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • SeqNo

        public SeqNo​(long rawValue)
    • Method Detail

      • ord

        public static scala.math.Ordering<SeqNo> ord()
      • apply

        public static SeqNo apply​(long rawValue)
        Implements a 64 bit sequence number with proper wrap-around ordering.
        rawValue - (undocumented)
      • unapply

        public static scala.Option<java.lang.Object> unapply​(SeqNo x$0)
      • rawValue

        public long rawValue()
      • isSuccessor

        public boolean isSuccessor​(SeqNo that)
      • inc

        public SeqNo inc()
        Increments the sequence number. Wraps-around if 64 bit limit is reached.
        the incremented sequence number
      • compare

        public int compare​(SeqNo that)
        Specified by:
        compare in interface scala.math.Ordered<SeqNo>
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • copy

        public SeqNo copy​(long rawValue)
      • copy$default$1

        public long copy$default$1()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object