Class/Object

zio

ZEnvironment

Related Docs: object ZEnvironment | package zio

Permalink

final class ZEnvironment[+R] extends Serializable

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

Type Members

  1. trait UnsafeAPI extends AnyRef

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[R1](that: ZEnvironment[R1])(implicit arg0: zio.EnvironmentTag[R1]): ZEnvironment[R with R1]

    Permalink
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def add[A](a: A)(implicit tag: Tag[A]): ZEnvironment[R with A]

    Permalink

    Adds a service to the environment.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  9. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    ZEnvironment → AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get[A >: R](implicit tag: Tag[A]): A

    Permalink

    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]

    Permalink

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def prune[R1 >: R](implicit tagged: zio.EnvironmentTag[R1]): ZEnvironment[R1]

    Permalink

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

  20. def size: Int

    Permalink

    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

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

    Permalink
    Definition Classes
    ZEnvironment → AnyRef → Any
  23. def union[R1](that: ZEnvironment[R1])(implicit arg0: zio.EnvironmentTag[R1]): ZEnvironment[R with R1]

    Permalink

    Combines this environment with the specified environment.

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

    Permalink

    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

    Permalink
  26. def update[A >: R](f: (A) ⇒ A)(implicit arg0: Tag[A]): ZEnvironment[R]

    Permalink

    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]

    Permalink

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

  28. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped