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

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

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

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

Deprecated Value Members

  1. def addFatal(fatal: Class[_ <: Throwable])(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.22) Custom Fatal handling is deprecated, kept only for binary compatability.

  2. final val defaultFatal: IsFatal
    Definition Classes
    RuntimePlatformSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.21) IsFatal is deprecated, kept only for binary compatability.

  3. def enableWorkStealing(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.19) Unused + unimplemented: using this flag will have no effect

  4. 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