final case class DeadLettersFilter(messageClass: Class[_])(occurrences: Int) extends EventFilter with Product with Serializable
Filter which matches DeadLetter events, if the wrapped message conforms to the given type.
- Source
- TestEventListener.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- DeadLettersFilter
- Serializable
- Serializable
- Product
- Equals
- EventFilter
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
apply(event: LogEvent): Boolean
- Definition Classes
- EventFilter
-
def
assertDone(max: Duration): Unit
Assert that this filter has matched as often as requested by its
occurrences
parameter specifies.Assert that this filter has matched as often as requested by its
occurrences
parameter specifies.- Definition Classes
- EventFilter
-
def
awaitDone(max: Duration): Boolean
- Definition Classes
- EventFilter
-
def
intercept[T](code: ⇒ T)(implicit system: ActorSystem): T
Apply this filter while executing the given code block.
Apply this filter while executing the given code block. Care is taken to remove the filter when the block is finished or aborted.
- Definition Classes
- EventFilter
-
def
matches(event: LogEvent): Boolean
This method decides whether to filter the event (
true
) or not (false
).This method decides whether to filter the event (
true
) or not (false
).- Definition Classes
- DeadLettersFilter → EventFilter
- val messageClass: Class[_]