Packages

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. final case class Scoped[+R](environment: ZEnvironment[R], fiberRefs: FiberRefs, runtimeFlags: RuntimeFlags, shutdown0: () => Unit) extends Runtime[R] with Product with Serializable

    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 addFatal(fatal: Class[_ <: Throwable])(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  5. def addLogAnnotation(annotation: LogAnnotation)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  6. def addLogger(logger: ZLogger[String, Any])(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  7. def addSupervisor(supervisor: Supervisor[Any])(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  8. def apply[R](r: ZEnvironment[R], fiberRefs0: FiberRefs, runtimeFlags0: RuntimeFlags): Runtime[R]

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

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. 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.

  12. final val defaultBlockingExecutor: Executor
    Definition Classes
    RuntimePlatformSpecific
  13. final val defaultExecutor: Executor
    Definition Classes
    RuntimePlatformSpecific
  14. final val defaultFatal: IsFatal
    Definition Classes
    RuntimePlatformSpecific
  15. final val defaultLoggers: Set[ZLogger[String, Any]]
    Definition Classes
    RuntimePlatformSpecific
  16. final val defaultReportFatal: (Throwable) => Nothing
    Definition Classes
    RuntimePlatformSpecific
  17. final val defaultSupervisor: Supervisor[Any]
    Definition Classes
    RuntimePlatformSpecific
  18. def disableFlags(flags: RuntimeFlag*)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  19. def enableAutoBlockingExecutor(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
    Definition Classes
    RuntimePlatformSpecific
  20. def enableCooperativeYielding(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  21. def enableCurrentFiber(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  22. def enableFiberRoots(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  23. def enableFlags(flags: RuntimeFlag*)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  24. def enableLoomBasedBlockingExecutor(implicit trace: Trace): ZLayer[Any, LoomNotAvailableException, Unit]
    Definition Classes
    RuntimePlatformSpecific
  25. def enableLoomBasedExecutor(implicit trace: Trace): ZLayer[Any, LoomNotAvailableException, Unit]
    Definition Classes
    RuntimePlatformSpecific
  26. def enableOpLog(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  27. def enableOpSupervision(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  28. def enableRuntimeMetrics(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  29. def enableWorkStealing(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  32. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. val removeDefaultLoggers: ZLayer[Any, Nothing, Unit]
  39. def setBlockingExecutor(executor: Executor)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  40. def setConfigProvider(configProvider: ConfigProvider)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  41. def setExecutor(executor: Executor)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  42. def setReportFatal(reportFatal: (Throwable) => Nothing)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  43. def setUnhandledErrorLogLevel(logLevel: LogLevel)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. object unsafe

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from RuntimePlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped