Package akka.testkit
Class DeadLettersFilter
- java.lang.Object
-
- akka.testkit.EventFilter
-
- akka.testkit.DeadLettersFilter
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public final class DeadLettersFilter extends EventFilter implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeadLettersFilter(java.lang.Class<?> messageClass, int occurrences)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeadLettersFilter
apply(java.lang.Class<?> messageClass, int occurrences)
Filter which matches DeadLetter events, if the wrapped message conforms to the given type.static <T> DeadLettersFilter
apply(scala.reflect.ClassTag<T> t)
boolean
canEqual(java.lang.Object x$1)
DeadLettersFilter
copy(java.lang.Class<?> messageClass, int occurrences)
java.lang.Class<?>
copy$default$1()
boolean
equals(java.lang.Object x$1)
int
hashCode()
boolean
matches(Logging.LogEvent event)
This method decides whether to filter the event (true
) or not (false
).java.lang.Class<?>
messageClass()
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
toString()
static scala.Option<java.lang.Class<?>>
unapply(DeadLettersFilter x$0)
-
Methods inherited from class akka.testkit.EventFilter
apply, apply$default$1, apply$default$2, apply$default$3, apply$default$4, apply$default$5, assertDone, awaitDone, complete, custom, custom$default$2, debug, debug$default$1, debug$default$2, debug$default$3, debug$default$4, debug$default$5, doMatch, error, error$default$1, error$default$2, error$default$3, error$default$4, error$default$5, info, info$default$1, info$default$2, info$default$3, info$default$4, info$default$5, intercept, message, source, warning, warning$default$1, warning$default$2, warning$default$3, warning$default$4, warning$default$5
-
-
-
-
Method Detail
-
apply
public static <T> DeadLettersFilter apply(scala.reflect.ClassTag<T> t)
-
apply
public static DeadLettersFilter apply(java.lang.Class<?> messageClass, int occurrences)
Filter which matches DeadLetter events, if the wrapped message conforms to the given type.
-
unapply
public static scala.Option<java.lang.Class<?>> unapply(DeadLettersFilter x$0)
-
messageClass
public java.lang.Class<?> messageClass()
-
matches
public boolean matches(Logging.LogEvent event)
Description copied from class:EventFilter
This method decides whether to filter the event (true
) or not (false
).- Specified by:
matches
in classEventFilter
-
copy
public DeadLettersFilter copy(java.lang.Class<?> messageClass, int occurrences)
-
copy$default$1
public java.lang.Class<?> copy$default$1()
-
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
-
-