Class SeqNo

java.lang.Object
org.apache.pekko.remote.SeqNo
All Implemented Interfaces:
Serializable, Comparable<SeqNo>, scala.Equals, scala.math.Ordered<SeqNo>, scala.Product

public final class SeqNo extends Object implements scala.math.Ordered<SeqNo>, scala.Product, Serializable
Deprecated.
Classic remoting is deprecated, use Artery. Since Akka 2.6.0.
See Also:
  • Constructor Details

    • SeqNo

      public SeqNo(long rawValue)
      Deprecated.
  • Method Details

    • ord

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

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

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

      public long rawValue()
      Deprecated.
    • isSuccessor

      public boolean isSuccessor(SeqNo that)
      Deprecated.
      Checks if this sequence number is an immediate successor of the provided one.

      Parameters:
      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
    • inc

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

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

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • copy

      public SeqNo copy(long rawValue)
      Deprecated.
    • copy$default$1

      public long copy$default$1()
      Deprecated.
    • productPrefix

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

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

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

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

      public boolean canEqual(Object x$1)
      Deprecated.
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Deprecated.
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object x$1)
      Deprecated.
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object