Package org.apache.pekko.actor
Class DeadLetter
java.lang.Object
org.apache.pekko.actor.DeadLetter
- All Implemented Interfaces:
Serializable,AllDeadLetters,WrappedMessage,scala.Equals,scala.Product
When a message is sent to an Actor that is terminated before receiving the message, it will be sent as a DeadLetter
to the ActorSystem's EventStream.
When this message was sent without a sender ActorRef, sender will be system.deadLetters.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeadLetterbooleanbooleaninthashCode()message()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>sender()toString()unapply(DeadLetter x$0) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
DeadLetter
-
-
Method Details
-
apply
-
unapply
-
message
- Specified by:
messagein interfaceAllDeadLetters- Specified by:
messagein interfaceWrappedMessage
-
sender
- Specified by:
senderin interfaceAllDeadLetters
-
recipient
- Specified by:
recipientin interfaceAllDeadLetters
-
copy
-
copy$default$1
-
copy$default$2
-
copy$default$3
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-