Package akka.actor
Class Dropped
- java.lang.Object
-
- akka.actor.Dropped
-
- All Implemented Interfaces:
AllDeadLetters
,WrappedMessage
,java.io.Serializable
,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 inDeadLetter
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 beActorRef.noSender
, i.e.null
.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Dropped
apply(java.lang.Object message, java.lang.String reason, ActorRef recipient)
Convenience for creatingDropped
without asender
.static Dropped
apply(java.lang.Object message, java.lang.String reason, ActorRef sender, ActorRef recipient)
boolean
canEqual(java.lang.Object x$1)
Dropped
copy(java.lang.Object message, java.lang.String reason, ActorRef sender, ActorRef recipient)
java.lang.Object
copy$default$1()
java.lang.String
copy$default$2()
ActorRef
copy$default$3()
ActorRef
copy$default$4()
boolean
equals(java.lang.Object x$1)
int
hashCode()
java.lang.Object
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()
java.lang.String
reason()
ActorRef
recipient()
ActorRef
sender()
java.lang.String
toString()
static scala.Option<scala.Tuple4<java.lang.Object,java.lang.String,ActorRef,ActorRef>>
unapply(Dropped x$0)
-
-
-
Method Detail
-
apply
public static Dropped apply(java.lang.Object message, java.lang.String reason, ActorRef recipient)
Convenience for creatingDropped
without asender
.
-
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)
-
message
public java.lang.Object message()
- Specified by:
message
in interfaceAllDeadLetters
- Specified by:
message
in interfaceWrappedMessage
-
reason
public java.lang.String reason()
-
sender
public ActorRef sender()
- Specified by:
sender
in interfaceAllDeadLetters
-
recipient
public ActorRef recipient()
- Specified by:
recipient
in interfaceAllDeadLetters
-
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 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
-
-