Packages

object STM

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. STM
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. final def atomically[E, A](stm: STM[E, A]): IO[E, A]

    Atomically performs a batch of operations in a single transaction.

  6. final def check(p: Boolean): STM[Nothing, Unit]

    Checks the condition, and if it's true, returns unit, otherwise, retries.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def collectAll[E, A](i: Iterable[STM[E, A]]): STM[E, List[A]]

    Collects all the transactional effects in a list, returning a single transactional effect that produces a list of values.

  9. final def die(t: Throwable): STM[Nothing, Nothing]

    Kills the fiber running the effect.

  10. final def dieMessage(m: String): STM[Nothing, Nothing]

    Kills the fiber running the effect with a RuntimeException that contains the specified message.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. final def fail[E](e: E): STM[E, Nothing]

    Returns a value that models failure in the transaction.

  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def foreach[E, A, B](as: Iterable[A])(f: (A) ⇒ STM[E, B]): STM[E, List[B]]

    Applies the function f to each element of the Iterable[A] and returns a transactional effect that produces a new List[B].

  16. final def fromEither[E, A](e: ⇒ Either[E, A]): STM[E, A]

    Creates an STM effect from an Either value.

  17. final def fromTry[A](a: ⇒ Try[A]): STM[Throwable, A]

    Creates an STM effect from a Try value.

  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def partial[A](a: ⇒ A): STM[Throwable, A]

    Creates an STM value from a partial (but pure) function.

  25. final val retry: STM[Nothing, Nothing]

    Abort and retry the whole transaction when any of the underlying transactional variables have changed.

  26. final def succeed[A](a: A): STM[Nothing, A]

    Returns an STM effect that succeeds with the specified value.

  27. final def suspend[E, A](stm: ⇒ STM[E, A]): STM[E, A]

    Suspends creation of the specified transaction lazily.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final val unit: STM[Nothing, Unit]

    Returns an STM effect that succeeds with Unit.

  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. final def succeedLazy[A](a: ⇒ A): STM[Nothing, A]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use succeed

Inherited from AnyRef

Inherited from Any

Ungrouped