Package org.apache.pekko.actor
Class SuppressedDeadLetter
java.lang.Object
org.apache.pekko.actor.SuppressedDeadLetter
- All Implemented Interfaces:
Serializable,AllDeadLetters,WrappedMessage,scala.Equals,scala.Product
public final class SuppressedDeadLetter
extends Object
implements AllDeadLetters, scala.Product, Serializable
Similar to
DeadLetter with the slight twist of NOT being logged by the default dead letters listener.
Messages which end up being suppressed dead letters are internal messages for which ending up as dead-letter is both expected and harmless.
It is possible to subscribe to suppressed dead letters on the ActorSystem's EventStream explicitly.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSuppressedDeadLetter(DeadLetterSuppression message, ActorRef sender, ActorRef recipient) -
Method Summary
Modifier and TypeMethodDescriptionstatic SuppressedDeadLetterapply(DeadLetterSuppression message, ActorRef sender, ActorRef recipient) booleancopy(DeadLetterSuppression message, ActorRef sender, ActorRef recipient) booleaninthashCode()message()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>sender()toString()static scala.Option<scala.Tuple3<DeadLetterSuppression,ActorRef, ActorRef>> Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
SuppressedDeadLetter
-
-
Method Details
-
apply
public static SuppressedDeadLetter apply(DeadLetterSuppression message, ActorRef sender, ActorRef recipient) -
unapply
public static scala.Option<scala.Tuple3<DeadLetterSuppression,ActorRef, unapplyActorRef>> (SuppressedDeadLetter x$0) -
message
- Specified by:
messagein interfaceAllDeadLetters- Specified by:
messagein interfaceWrappedMessage
-
sender
- Specified by:
senderin interfaceAllDeadLetters
-
recipient
- Specified by:
recipientin interfaceAllDeadLetters
-
copy
public SuppressedDeadLetter copy(DeadLetterSuppression message, ActorRef sender, ActorRef recipient) -
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
-