Class

zio.ZRef.Synchronized

UnifiedSyntax

Related Doc: package Synchronized

Permalink

implicit final class UnifiedSyntax[-R, +E, A] extends AnyVal

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

Instance Constructors

  1. new UnifiedSyntax(self: Synchronized[R, R, E, E, A, A])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

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

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

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

    Permalink
    Definition Classes
    Any
  5. def getAndUpdateSomeZIO[R1 <: R, E1 >: E](pf: PartialFunction[A, ZIO[R1, E1, A]]): ZIO[R1, E1, A]

    Permalink

    Atomically modifies the Ref.Synchronized with the specified partial function, returning the value immediately before modification.

    Atomically modifies the Ref.Synchronized with the specified partial function, returning the value immediately before modification. If the function is undefined on the current value it doesn't change it.

  6. def getAndUpdateZIO[R1 <: R, E1 >: E](f: (A) ⇒ ZIO[R1, E1, A]): ZIO[R1, E1, A]

    Permalink

    Atomically modifies the Ref.Synchronized with the specified function, returning the value immediately before modification.

  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def modifySomeZIO[R1 <: R, E1 >: E, B](default: B)(pf: PartialFunction[A, ZIO[R1, E1, (B, A)]]): ZIO[R1, E1, B]

    Permalink

    Atomically modifies the Ref.Synchronized with the specified function, which computes a return value for the modification if the function is defined in the current value otherwise it returns a default value.

    Atomically modifies the Ref.Synchronized with the specified function, which computes a return value for the modification if the function is defined in the current value otherwise it returns a default value. This is a more powerful version of updateSome.

  10. def modifyZIO[R1 <: R, E1 >: E, B](f: (A) ⇒ ZIO[R1, E1, (B, A)]): ZIO[R1, E1, B]

    Permalink

    Atomically modifies the Ref.Synchronized with the specified function, which computes a return value for the modification.

    Atomically modifies the Ref.Synchronized with the specified function, which computes a return value for the modification. This is a more powerful version of update.

  11. def toString(): String

    Permalink
    Definition Classes
    Any
  12. def updateAndGetZIO[R1 <: R, E1 >: E](f: (A) ⇒ ZIO[R1, E1, A]): ZIO[R1, E1, A]

    Permalink

    Atomically modifies the Ref.Synchronized with the specified function, returning the value immediately after modification.

  13. def updateSomeAndGetZIO[R1 <: R, E1 >: E](pf: PartialFunction[A, ZIO[R1, E1, A]]): ZIO[R1, E1, A]

    Permalink

    Atomically modifies the Ref.Synchronized with the specified partial function.

    Atomically modifies the Ref.Synchronized with the specified partial function. If the function is undefined on the current value it returns the old value without changing it.

  14. def updateSomeZIO[R1 <: R, E1 >: E](pf: PartialFunction[A, ZIO[R1, E1, A]]): ZIO[R1, E1, Unit]

    Permalink

    Atomically modifies the Ref.Synchronized with the specified partial function.

    Atomically modifies the Ref.Synchronized with the specified partial function. If the function is undefined on the current value it doesn't change it.

  15. def updateZIO[R1 <: R, E1 >: E](f: (A) ⇒ ZIO[R1, E1, A]): ZIO[R1, E1, Unit]

    Permalink

    Atomically modifies the Ref.Synchronized with the specified function.

Deprecated Value Members

  1. def getAndUpdateM[R1 <: R, E1 >: E](f: (A) ⇒ ZIO[R1, E1, A]): ZIO[R1, E1, A]

    Permalink

    Atomically modifies the RefM with the specified function, returning the value immediately before modification.

    Atomically modifies the RefM with the specified function, returning the value immediately before modification.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use getAndUpdateZIO

  2. def getAndUpdateSomeM[R1 <: R, E1 >: E](pf: PartialFunction[A, ZIO[R1, E1, A]]): ZIO[R1, E1, A]

    Permalink

    Atomically modifies the RefM with the specified partial function, returning the value immediately before modification.

    Atomically modifies the RefM with the specified partial function, returning the value immediately before modification. If the function is undefined on the current value it doesn't change it.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use getAndUpdateSomeZIO

  3. def modifyM[R1 <: R, E1 >: E, B](f: (A) ⇒ ZIO[R1, E1, (B, A)]): ZIO[R1, E1, B]

    Permalink

    Atomically modifies the RefM with the specified function, which computes a return value for the modification.

    Atomically modifies the RefM with the specified function, which computes a return value for the modification. This is a more powerful version of update.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use modifyZIO

  4. def modifySomeM[R1 <: R, E1 >: E, B](default: B)(pf: PartialFunction[A, ZIO[R1, E1, (B, A)]]): ZIO[R1, E1, B]

    Permalink

    Atomically modifies the RefM with the specified function, which computes a return value for the modification if the function is defined in the current value otherwise it returns a default value.

    Atomically modifies the RefM with the specified function, which computes a return value for the modification if the function is defined in the current value otherwise it returns a default value. This is a more powerful version of updateSome.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use modifySomeZIO

  5. def updateAndGetM[R1 <: R, E1 >: E](f: (A) ⇒ ZIO[R1, E1, A]): ZIO[R1, E1, A]

    Permalink

    Atomically modifies the RefM with the specified function, returning the value immediately after modification.

    Atomically modifies the RefM with the specified function, returning the value immediately after modification.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use updateAndGetZIO

  6. def updateM[R1 <: R, E1 >: E](f: (A) ⇒ ZIO[R1, E1, A]): ZIO[R1, E1, Unit]

    Permalink

    Atomically modifies the RefM with the specified function.

    Atomically modifies the RefM with the specified function.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use updateZIO

  7. def updateSomeAndGetM[R1 <: R, E1 >: E](pf: PartialFunction[A, ZIO[R1, E1, A]]): ZIO[R1, E1, A]

    Permalink

    Atomically modifies the RefM with the specified partial function.

    Atomically modifies the RefM with the specified partial function. If the function is undefined on the current value it returns the old value without changing it.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use updateSomeAndGetZIO

  8. def updateSomeM[R1 <: R, E1 >: E](pf: PartialFunction[A, ZIO[R1, E1, A]]): ZIO[R1, E1, Unit]

    Permalink

    Atomically modifies the RefM with the specified partial function.

    Atomically modifies the RefM with the specified partial function. If the function is undefined on the current value it doesn't change it.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use updateSomeZIO

Inherited from AnyVal

Inherited from Any

Ungrouped