Package akka.actor
Class SuppressedDeadLetter
- java.lang.Object
-
- akka.actor.SuppressedDeadLetter
-
- All Implemented Interfaces:
AllDeadLetters
,WrappedMessage
,java.io.Serializable
,scala.Equals
,scala.Product
public final class SuppressedDeadLetter extends java.lang.Object implements AllDeadLetters, scala.Product, java.io.Serializable
Similar toDeadLetter
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SuppressedDeadLetter(DeadLetterSuppression message, ActorRef sender, ActorRef recipient)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SuppressedDeadLetter
apply(DeadLetterSuppression message, ActorRef sender, ActorRef recipient)
boolean
canEqual(java.lang.Object x$1)
SuppressedDeadLetter
copy(DeadLetterSuppression message, ActorRef sender, ActorRef recipient)
DeadLetterSuppression
copy$default$1()
ActorRef
copy$default$2()
ActorRef
copy$default$3()
boolean
equals(java.lang.Object x$1)
int
hashCode()
DeadLetterSuppression
message()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
ActorRef
recipient()
ActorRef
sender()
java.lang.String
toString()
static scala.Option<scala.Tuple3<DeadLetterSuppression,ActorRef,ActorRef>>
unapply(SuppressedDeadLetter x$0)
-
-
-
Constructor Detail
-
SuppressedDeadLetter
public SuppressedDeadLetter(DeadLetterSuppression message, ActorRef sender, ActorRef recipient)
-
-
Method Detail
-
apply
public static SuppressedDeadLetter apply(DeadLetterSuppression message, ActorRef sender, ActorRef recipient)
-
unapply
public static scala.Option<scala.Tuple3<DeadLetterSuppression,ActorRef,ActorRef>> unapply(SuppressedDeadLetter x$0)
-
message
public DeadLetterSuppression message()
- Specified by:
message
in interfaceAllDeadLetters
- Specified by:
message
in interfaceWrappedMessage
-
sender
public ActorRef sender()
- Specified by:
sender
in interfaceAllDeadLetters
-
recipient
public ActorRef recipient()
- Specified by:
recipient
in interfaceAllDeadLetters
-
copy
public SuppressedDeadLetter copy(DeadLetterSuppression message, ActorRef sender, ActorRef recipient)
-
copy$default$1
public DeadLetterSuppression copy$default$1()
-
copy$default$2
public ActorRef copy$default$2()
-
copy$default$3
public ActorRef copy$default$3()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-