object Runtime extends RuntimePlatformSpecific

Linear Supertypes
RuntimePlatformSpecific, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Runtime
  2. RuntimePlatformSpecific
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class Proxy[+R] extends Runtime[R]
  2. abstract class Scoped[+R] extends Runtime[R]

    A runtime that can be shutdown to release resources allocated to it.

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. def addLogger(logger: ZLogger[String, Any])(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  5. def addSupervisor(supervisor: Supervisor[Any])(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  6. def apply[R](r: ZEnvironment[R], fiberRefs0: FiberRefs): Runtime[R]

    Builds a new runtime given an environment R and a zio.FiberRefs.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val default: Runtime[Any]

    The default Runtime for most ZIO applications.

    The default Runtime for most ZIO applications. This runtime is configured with the the default runtime configuration, which is optimized for typical ZIO applications.

  10. final val defaultBlockingExecutor: Executor
    Definition Classes
    RuntimePlatformSpecific
  11. final val defaultExecutor: Executor
    Definition Classes
    RuntimePlatformSpecific
  12. final val defaultFatal: Set[Class[_ <: Throwable]]
    Definition Classes
    RuntimePlatformSpecific
  13. final val defaultFlags: Set[RuntimeFlag]
    Definition Classes
    RuntimePlatformSpecific
  14. final val defaultLoggers: Set[ZLogger[String, Any]]
    Definition Classes
    RuntimePlatformSpecific
  15. final val defaultReportFatal: (Throwable) => Nothing
    Definition Classes
    RuntimePlatformSpecific
  16. final val defaultSupervisors: Set[Supervisor[Any]]
    Definition Classes
    RuntimePlatformSpecific
  17. final val defaultYieldOpCount: Int

    The default number of operations the ZIO runtime should execute before yielding to other fibers.

    The default number of operations the ZIO runtime should execute before yielding to other fibers.

    Definition Classes
    RuntimePlatformSpecific
  18. val enableCurrentFiber: ZLayer[Any, Nothing, Unit]
  19. lazy val enableFiberRoots: ZLayer[Any, Nothing, Unit]
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val logRuntime: ZLayer[Any, Nothing, Unit]
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def setBlockingExecutor(executor: Executor)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  31. def setExecutor(executor: Executor)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  32. def setReportFatal(reportFatal: (Throwable) => Nothing)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  33. lazy val superviseOperations: ZLayer[Any, Nothing, Unit]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def track(weak: Boolean)(implicit trace: Trace): ZLayer[Any, Nothing, Any]

    A layer that adds a supervisor that tracks all forked fibers in a set.

    A layer that adds a supervisor that tracks all forked fibers in a set. Note that this may have a negative impact on performance.

  37. val trackRuntimeMetrics: ZLayer[Any, Nothing, Unit]
  38. def unsafeFromLayer[R](layer: Layer[Any, R])(implicit trace: Trace): Scoped[R]

    Unsafely creates a Runtime from a ZLayer whose resources will be allocated immediately, and not released until the Runtime is shut down or the end of the application.

    Unsafely creates a Runtime from a ZLayer whose resources will be allocated immediately, and not released until the Runtime is shut down or the end of the application.

    This method is useful for small applications and integrating ZIO with legacy code, but other applications should investigate using ZIO.provide directly in their application entry points.

  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. object Scoped

Inherited from RuntimePlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped