Object/Class

zio.stm

STM

Related Docs: class STM | package stm

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def atomically[E, A](stm: STM[E, A]): IO[E, A]

    Permalink

    Atomically performs a batch of operations in a single transaction.

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

    Permalink

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

  7. def clone(): AnyRef

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

    Permalink

    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]

    Permalink

    Kills the fiber running the effect.

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

    Permalink

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

  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def fail[E](e: E): STM[E, Nothing]

    Permalink

    Returns a value that models failure in the transaction.

  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.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]]

    Permalink

    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]

    Permalink

    Creates an STM effect from an Either value.

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

    Permalink

    Creates an STM effect from a Try value.

  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def partial[A](a: ⇒ A): STM[Throwable, A]

    Permalink

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

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

    Permalink

    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]

    Permalink

    Returns an STM effect that succeeds with the specified value.

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

    Permalink

    Suspends creation of the specified transaction lazily.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final val unit: STM[Nothing, Unit]

    Permalink

    Returns an STM effect that succeeds with Unit.

  31. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use succeed

Inherited from AnyRef

Inherited from Any

Ungrouped