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 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() @IntrinsicCandidate()
  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 defaultFatal: IsFatal
    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 defaultSupervisor: Supervisor[Any]
    Definition Classes
    RuntimePlatformSpecific
  17. def enableCooperativeYielding(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  18. def enableCurrentFiber(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  19. def enableFiberRoots(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  20. def enableOpLog(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  21. def enableOpSupervision(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  22. def enableRuntimeMetrics(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  23. def enableWorkStealing(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  32. val removeDefaultLoggers: ZLayer[Any, Nothing, Unit]
  33. def setBlockingExecutor(executor: Executor)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  34. def setExecutor(executor: Executor)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  35. def setReportFatal(reportFatal: (Throwable) => Nothing)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  36. def setUnhandledErrorLogLevel(logLevel: LogLevel)(implicit trace: Trace): ZLayer[Any, Nothing, Unit]
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. object unsafe

Deprecated Value Members

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

Inherited from RuntimePlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped