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 enableLoomBasedExecutor(implicit trace: Trace): ZLayer[Any, LoomNotAvailableException, Unit]
    Definition Classes
    RuntimePlatformSpecific
  25. def enableOpLog(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  26. def enableOpSupervision(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  27. def enableRuntimeMetrics(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  28. def enableWorkStealing(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. val removeDefaultLoggers: ZLayer[Any, Nothing, Unit]
  38. def setBlockingExecutor(executor: Executor)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  39. def setConfigProvider(configProvider: ConfigProvider)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  40. def setExecutor(executor: Executor)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  41. def setReportFatal(reportFatal: (Throwable) => Nothing)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  42. def setUnhandledErrorLogLevel(logLevel: LogLevel)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. 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