Class Dropped

java.lang.Object
org.apache.pekko.actor.Dropped
All Implemented Interfaces:
Serializable, AllDeadLetters, WrappedMessage, scala.Equals, scala.Product

public final class Dropped extends Object implements AllDeadLetters, scala.Product, 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:
  • Constructor Details

  • Method Details

    • apply

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

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

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

      public Object message()
      Specified by:
      message in interface AllDeadLetters
      Specified by:
      message in interface WrappedMessage
    • reason

      public String reason()
    • sender

      public ActorRef sender()
      Specified by:
      sender in interface AllDeadLetters
    • recipient

      public ActorRef recipient()
      Specified by:
      recipient in interface AllDeadLetters
    • copy

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

      public Object copy$default$1()
    • copy$default$2

      public String copy$default$2()
    • copy$default$3

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

      public ActorRef copy$default$4()
    • productPrefix

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

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

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

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

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

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

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

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

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