Class Dropped

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

    public final class Dropped
    extends java.lang.Object
    implements AllDeadLetters, scala.Product, java.io.Serializable
    Envelope that is published on the eventStream wrapped in pekko.actor.DeadLetter for every message that is dropped due to overfull queues or routers with no routees.

    When this message was sent without a sender ActorRef, sender will be ActorRef.noSender, i.e. null.

    See Also:
    Serialized Form
    • Constructor Detail

      • Dropped

        public Dropped​(java.lang.Object message,
                       java.lang.String reason,
                       ActorRef sender,
                       ActorRef recipient)
    • Method Detail

      • apply

        public static Dropped apply​(java.lang.Object message,
                                    java.lang.String reason,
                                    ActorRef recipient)
        Convenience for creating Dropped without a sender.
      • apply

        public static Dropped apply​(java.lang.Object message,
                                    java.lang.String reason,
                                    ActorRef sender,
                                    ActorRef recipient)
      • unapply

        public static scala.Option<scala.Tuple4<java.lang.Object,​java.lang.String,​ActorRef,​ActorRef>> unapply​(Dropped x$0)
      • reason

        public java.lang.String reason()
      • copy

        public Dropped copy​(java.lang.Object message,
                            java.lang.String reason,
                            ActorRef sender,
                            ActorRef recipient)
      • copy$default$1

        public java.lang.Object copy$default$1()
      • copy$default$2

        public java.lang.String copy$default$2()
      • copy$default$3

        public ActorRef copy$default$3()
      • copy$default$4

        public ActorRef copy$default$4()
      • 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
      • productElementName

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

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