molecule.examples.io.stopwatch

StopWatch

object StopWatch extends ProcessType0x0[Unit]

This example is a port of the StopWatch example found in the beginner's tutorial of SCXML website. http://commons.apache.org/scxml/usecases/scxml-stopwatch.html

Contrarily to the original SCXML example, we don't need XML, we get the threading right (the official SCXML example suffers from data races) and it scales out of the box to numerous stop watches.

Linear Supertypes
ProcessType0x0[Unit], ProcessType[Unit], ProcessType0x0[Unit], () ⇒ Process0x0[Unit], ProcessType, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StopWatch
  2. ProcessType0x0
  3. ProcessType
  4. ProcessType0x0
  5. Function0
  6. ProcessType
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. def apply(): Process0x0[Unit]

    Definition Classes
    ProcessType0x0 → ProcessType0x0 → Function0
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  13. def handover(process: Process[Unit]): IO[Nothing]

    Definition Classes
    ProcessType
  14. def handover(process: IO[Process[Unit]]): IO[Nothing]

    Definition Classes
    ProcessType
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def main(args: Array[String]): Unit

  18. def main(): IO[Unit]

    Definition Classes
    StopWatch → ProcessType0x0
  19. def name: String

    Definition Classes
    ProcessType
  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. def shutdown(result: Unit): IO[Nothing]

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

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    Function0 → 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 ProcessType0x0[Unit]

Inherited from ProcessType[Unit]

Inherited from ProcessType0x0[Unit]

Inherited from () ⇒ Process0x0[Unit]

Inherited from ProcessType

Inherited from AnyRef

Inherited from Any

Ungrouped