Package akka.remote

Class AckedReceiveBuffer<T extends HasSequenceNumber>

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product

    public final class AckedReceiveBuffer<T extends HasSequenceNumber>
    extends java.lang.Object
    implements scala.Product, java.io.Serializable
    Deprecated.
    Classic remoting is deprecated, use Artery. Since 2.6.0.
    Puts a sequenced message in the receive buffer returning a new buffer. param: arrivedMsg message to be put into the buffer.
    See Also:
    Serialized Form
    • Constructor Detail

      • AckedReceiveBuffer

        public AckedReceiveBuffer​(SeqNo lastDelivered,
                                  SeqNo cumulativeAck,
                                  scala.collection.immutable.SortedSet<T> buf,
                                  scala.math.Ordering<T> seqOrdering)
        Deprecated.
    • Method Detail

      • $lessinit$greater$default$1

        public static <T extends HasSequenceNumberSeqNo $lessinit$greater$default$1()
        Deprecated.
      • $lessinit$greater$default$2

        public static <T extends HasSequenceNumberSeqNo $lessinit$greater$default$2()
        Deprecated.
      • $lessinit$greater$default$3

        public static <T extends HasSequenceNumber> scala.collection.immutable.TreeSet<T> $lessinit$greater$default$3()
        Deprecated.
      • apply$default$3

        public static <T extends HasSequenceNumber> scala.collection.immutable.TreeSet<T> apply$default$3()
        Deprecated.
      • lastDelivered

        public SeqNo lastDelivered()
        Deprecated.
      • cumulativeAck

        public SeqNo cumulativeAck()
        Deprecated.
      • buf

        public scala.collection.immutable.SortedSet<T> buf()
        Deprecated.
      • seqOrdering

        public scala.math.Ordering<T> seqOrdering()
        Deprecated.
      • extractDeliverable

        public scala.Tuple3<AckedReceiveBuffer<T>,​scala.collection.immutable.Seq<T>,​Ack> extractDeliverable()
        Deprecated.
        Extract all messages that could be safely delivered, an updated ack to be sent to the sender(), and an updated buffer that has the messages removed that can be delivered.
        Returns:
        Triplet of the updated buffer, messages that can be delivered and the updated acknowledgement.
      • mergeFrom

        public AckedReceiveBuffer<T> mergeFrom​(AckedReceiveBuffer<T> that)
        Deprecated.
        Merges two receive buffers. Merging preserves sequencing of messages, and drops all messages that has been safely acknowledged by any of the participating buffers. Also updates the expected sequence numbers.
        Parameters:
        that - The receive buffer to merge with
        Returns:
        The merged receive buffer.
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object
      • copy$default$3

        public <T extends HasSequenceNumber> scala.collection.immutable.SortedSet<T> copy$default$3()
        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.
      • 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