Package akka.remote

Class SeqNo

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

    public final class SeqNo
    extends java.lang.Object
    implements scala.math.Ordered<SeqNo>, scala.Product, java.io.Serializable
    Deprecated.
    Classic remoting is deprecated, use Artery. Since 2.6.0.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SeqNo​(long rawValue)
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static SeqNo apply​(long rawValue)
      Deprecated.
      Implements a 64 bit sequence number with proper wrap-around ordering.
      boolean canEqual​(java.lang.Object x$1)
      Deprecated.
       
      int compare​(SeqNo that)
      Deprecated.
       
      SeqNo copy​(long rawValue)
      Deprecated.
       
      long copy$default$1()
      Deprecated.
       
      boolean equals​(java.lang.Object x$1)
      Deprecated.
       
      int hashCode()
      Deprecated.
       
      SeqNo inc()
      Deprecated.
      Increments the sequence number.
      boolean isSuccessor​(SeqNo that)
      Deprecated.
      Checks if this sequence number is an immediate successor of the provided one.
      static scala.math.Ordering<SeqNo> ord()
      Deprecated.
       
      int productArity()
      Deprecated.
       
      java.lang.Object productElement​(int x$1)
      Deprecated.
       
      java.lang.String productElementName​(int x$1)
      Deprecated.
       
      scala.collection.Iterator<java.lang.Object> productIterator()
      Deprecated.
       
      java.lang.String productPrefix()
      Deprecated.
       
      long rawValue()
      Deprecated.
       
      java.lang.String toString()
      Deprecated.
       
      static scala.Option<java.lang.Object> unapply​(SeqNo x$0)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface scala.math.Ordered

        $greater, $greater$eq, $less, $less$eq, compareTo
      • Methods inherited from interface scala.Product

        productElementNames
    • Constructor Detail

      • SeqNo

        public SeqNo​(long rawValue)
        Deprecated.
    • Method Detail

      • 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<java.lang.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 java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object
      • copy

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

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

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

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

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

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

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

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

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

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