Packages

object ActionListener

Source
ActionListener.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActionListener
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. def combine[F[_]](listeners: ActionListener[F]*): ActionListener[F]

    Listener that runs all the given listeners.

    Listener that runs all the given listeners. The first one is the outermost: it wraps the execution as wrapped by the second one, and so on.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def noop[F[_]]: ActionListener[F]

    Listener that performs no wrapping.

  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def timing[F[_]](implicit F: Sync[F]): ActionListener[F]

    Listener that logs how long each SQL action took, together with its SQL statements, to the slick.basic.BasicBackend.timing logger at debug level, e.g.

    Listener that logs how long each SQL action took, together with its SQL statements, to the slick.basic.BasicBackend.timing logger at debug level, e.g. SQL action took 1.234 ms: select .... Failed and canceled actions are logged as failed after and was canceled after. The time is measured around the whole action, so it can include waiting for a connection. Nothing is measured unless that logger is enabled at debug level.

    Slick fuses synchronous actions that are combined with >>, DBIO.seq, zip, asTry and similar combinators into one action that runs in one step. Such an action is logged on one line with its total time and the statements of all SQL actions in it, joined with ; .

    For db.stream, the line SQL stream opened after ... covers opening the stream, that is running the query until the first rows can be read, but not reading the rows.

    The default listener of every backend already includes this one. Combine it with your own listener to keep the timing log when you install one, e.g. ActionListener.combine(myListener, ActionListener.timing[IO]).

  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped