Class DeadLettersFilter

  extended by akka.testkit.EventFilter
      extended by akka.testkit.DeadLettersFilter
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class DeadLettersFilter
extends EventFilter
implements scala.Product, scala.Serializable

Filter which matches DeadLetter events, if the wrapped message conforms to the given type.

See Also:
Serialized Form

Constructor Summary
DeadLettersFilter(java.lang.Class<?> messageClass, int occurrences)
Method Summary
<T> DeadLettersFilter
apply(scala.reflect.ClassTag<T> t)
 boolean matches(Logging.LogEvent event)
          This method decides whether to filter the event (true) or not (false).
 java.lang.Object messageClass()
Methods inherited from class akka.testkit.EventFilter
apply, awaitDone, complete, custom, debug, doMatch, error, info, intercept, message, source, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
Methods inherited from interface scala.Equals
canEqual, equals

Constructor Detail


public DeadLettersFilter(java.lang.Class<?> messageClass,
                         int occurrences)
Method Detail


public static <T> DeadLettersFilter apply(scala.reflect.ClassTag<T> t)


public java.lang.Object messageClass()


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 class EventFilter