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<Logging.LogEvent,java.lang.Object> test,
int occurrences) |
Modifier and Type | Method and Description |
---|---|
static boolean |
apply(Logging.LogEvent event) |
static void |
assertDone(scala.concurrent.duration.Duration max) |
static boolean |
awaitDone(scala.concurrent.duration.Duration max) |
abstract static boolean |
canEqual(java.lang.Object that) |
protected static boolean |
complete() |
protected static boolean |
doMatch(java.lang.String src,
java.lang.Object msg) |
abstract static boolean |
equals(java.lang.Object that) |
static <T> T |
intercept(scala.Function0<T> code,
ActorSystem system) |
boolean |
matches(Logging.LogEvent event)
This method decides whether to filter the event (
true ) or not
(false ). |
protected static scala.util.Either<java.lang.String,scala.util.matching.Regex> |
message() |
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
protected static scala.Option<java.lang.String> |
source() |
scala.PartialFunction<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<Logging.LogEvent,java.lang.Object> test, int occurrences)
public static final boolean apply(Logging.LogEvent event)
public static boolean awaitDone(scala.concurrent.duration.Duration max)
public static void assertDone(scala.concurrent.duration.Duration max)
public static <T> T intercept(scala.Function0<T> code, ActorSystem system)
protected static scala.Option<java.lang.String> source()
protected static scala.util.Either<java.lang.String,scala.util.matching.Regex> message()
protected static boolean complete()
protected static boolean doMatch(java.lang.String src, java.lang.Object msg)
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public scala.PartialFunction<Logging.LogEvent,java.lang.Object> test()
public boolean matches(Logging.LogEvent event)
EventFilter
true
) or not
(false
).matches
in class EventFilter
event
- (undocumented)