final class ZEnvironment[+R] extends Serializable

Self Type
ZEnvironment[R]
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZEnvironment
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait UnsafeAPI extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ++[R1](that: ZEnvironment[R1])(implicit arg0: zio.EnvironmentTag[R1]): ZEnvironment[R with R1]
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def add[A](a: A)(implicit tag: Tag[A]): ZEnvironment[R with A]

    Adds a service to the environment.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(that: Any): Boolean
    Definition Classes
    ZEnvironment → AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def get[A >: R](implicit tag: Tag[A]): A

    Retrieves a service from the environment.

  12. def getAt[K, V](k: K)(implicit ev: <:<[R, Map[K, V]], tagged: zio.EnvironmentTag[Map[K, V]]): Option[V]

    Retrieves a service from the environment corresponding to the specified key.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    ZEnvironment → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def prune[R1 >: R](implicit tagged: zio.EnvironmentTag[R1]): ZEnvironment[R1]

    Prunes the environment to the set of services statically known to be contained within it.

  20. def size: Int

    The size of the environment, which is the number of services contained in the environment.

    The size of the environment, which is the number of services contained in the environment. This is intended primarily for testing purposes.

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    ZEnvironment → AnyRef → Any
  23. def union[R1](that: ZEnvironment[R1])(implicit arg0: zio.EnvironmentTag[R1]): ZEnvironment[R with R1]

    Combines this environment with the specified environment.

  24. def unionAll[R1](that: ZEnvironment[R1]): ZEnvironment[R with R1]

    Combines this environment with the specified environment.

    Combines this environment with the specified environment. In the event of service collisions, which may not be reflected in statically known types, the right hand side will be preferred.

  25. val unsafe: UnsafeAPI
  26. def update[A >: R](f: (A) => A)(implicit arg0: Tag[A]): ZEnvironment[R]

    Updates a service in the environment.

  27. def updateAt[K, V](k: K)(f: (V) => V)(implicit ev: <:<[R, Map[K, V]], tag: Tag[Map[K, V]]): ZEnvironment[R]

    Updates a service in the environment corresponding to the specified key.

  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped