public final class CustomEventFilter extends EventFilter implements scala.Product, scala.Serializable
If the partial function is defined and returns true, filter the event.
Constructor and Description |
---|
CustomEventFilter(scala.PartialFunction<akka.event.Logging.LogEvent,java.lang.Object> test,
int occurrences) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(akka.event.Logging.LogEvent event)
This method decides whether to filter the event (
true ) or not
(false ). |
scala.PartialFunction<akka.event.Logging.LogEvent,java.lang.Object> |
test() |
apply, assertDone, awaitDone, complete, custom, debug, doMatch, error, info, intercept, message, source, warning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CustomEventFilter(scala.PartialFunction<akka.event.Logging.LogEvent,java.lang.Object> test, int occurrences)
public scala.PartialFunction<akka.event.Logging.LogEvent,java.lang.Object> test()
public boolean matches(akka.event.Logging.LogEvent event)
EventFilter
true
) or not
(false
).matches
in class EventFilter
event
- (undocumented)