Packages

abstract class StopwatchBlocks extends Stopwatch

Default implementations of Stopwatch wrap and start.

Linear Supertypes
Stopwatch, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StopwatchBlocks
  2. Stopwatch
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StopwatchBlocks()

Abstract Value Members

  1. abstract def add(name: String): Unit
  2. abstract def remove(name: String): Unit
  3. abstract def stop(name: String): Unit

    Stop an active stopwatch with the specified name creating a user defined time interval.

    Stop an active stopwatch with the specified name creating a user defined time interval. A user defined stopwatch may start and stop in any location in the asynchronous flow, i.e. it may span over several actors, futures, or streams.

    name

    name of the stopwatch to stop

    Definition Classes
    Stopwatch

Concrete 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. def activate(name: String): Unit

    Start a stopwatch where subsequent operations in the current asynchronous scope will propagate the stopwatch; such as within the scope of an Akka Stream operator.

    Start a stopwatch where subsequent operations in the current asynchronous scope will propagate the stopwatch; such as within the scope of an Akka Stream operator. The matching stopwatch stop operation will create a user defined time interval. A user defined stopwatch may start and stop in any location in the asynchronous flow, i.e. it may span over several actors, futures, or streams.

    name

    name of the stopwatch

    Definition Classes
    StopwatchBlocksStopwatch
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  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. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. def start(name: String, runnable: Runnable): Unit

    Start a stopwatch where the operations in the runnable will propagate the stopwatch.

    Start a stopwatch where the operations in the runnable will propagate the stopwatch. The matching stopwatch stop operation will create a user defined time interval. A user defined stopwatch may start and stop in any location in the asynchronous flow, i.e. it may span over several actors, futures, or streams.

    name

    name of the stopwatch

    runnable

    runnable to run within the stopwatch start scope

    Definition Classes
    StopwatchBlocksStopwatch
  16. def start[T](name: String)(body: => T): T

    Start a stopwatch where the operations in the block will propagate the stopwatch.

    Start a stopwatch where the operations in the block will propagate the stopwatch. The matching stopwatch stop operation will create a user defined time interval. A user defined stopwatch may start and stop in any location in the asynchronous flow, i.e. it may span over several actors, futures, or streams.

    name

    name of the stopwatch

    returns

    result of block

    Definition Classes
    StopwatchBlocksStopwatch
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  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])
  22. def wrap(name: String, runnable: Runnable): Unit

    Run the runnable within a stopwatch start and end, to create a user defined time interval.

    Run the runnable within a stopwatch start and end, to create a user defined time interval.

    name

    name of the stopwatch

    runnable

    runnable to run within the time interval

    Definition Classes
    StopwatchBlocksStopwatch
  23. def wrap[T](name: String)(body: => T): T

    Run the block within a stopwatch start and stop, to create a user defined time interval.

    Run the block within a stopwatch start and stop, to create a user defined time interval.

    name

    name of the stopwatch

    returns

    result of block

    Definition Classes
    StopwatchBlocksStopwatch

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 Stopwatch

Inherited from AnyRef

Inherited from Any

Ungrouped