akka.testkit

EventFilter

abstract class EventFilter extends AnyRef

Facilities for selectively filtering out expected events from logging so that you can keep your test run’s console output clean and do not miss real error messages.

See the companion object for convenient factory methods.

If the occurrences is set to Int.MaxValue, no tracking is done.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. EventFilter
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EventFilter(occurrences: Int)

Abstract Value Members

  1. abstract 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).

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def apply(event: LogEvent): Boolean

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def awaitDone(max: Duration): Boolean

  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. val complete: Boolean

    Attributes
    protected
  11. def doMatch(src: String, msg: Any): Boolean

    internal implementation helper, no guaranteed API

    internal implementation helper, no guaranteed API

    Attributes
    protected
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. 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.

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. val message: Either[String, Regex]

    Attributes
    protected
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. val source: Option[String]

    Attributes
    protected
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any