object ActionListener
- Source
- ActionListener.scala
- Alphabetic
- By Inheritance
- ActionListener
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noop[F[_]]: ActionListener[F]
Listener that performs no wrapping.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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.timinglogger at debug level, e.g.Listener that logs how long each SQL action took, together with its SQL statements, to the
slick.basic.BasicBackend.timinglogger at debug level, e.g.SQL action took 1.234 ms: select .... Failed and canceled actions are logged asfailed afterandwas 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,asTryand 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 lineSQL 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]). - def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)

edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...