object RuntimeConfig extends RuntimeConfigPlatformSpecific with Serializable
- Alphabetic
- By Inheritance
- RuntimeConfig
- Serializable
- RuntimeConfigPlatformSpecific
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val benchmark: RuntimeConfig
A Runtime with settings suitable for benchmarks, specifically with Tracing and auto-yielding disabled.
A Runtime with settings suitable for benchmarks, specifically with Tracing and auto-yielding disabled.
Tracing adds a constant ~2x overhead on FlatMaps, however, it's an optional feature and it's not valid to compare the performance of ZIO with enabled Tracing with effect types _without_ a comparable feature.
- Definition Classes
- RuntimeConfigPlatformSpecific
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val default: RuntimeConfig
The default runtime configuration, with settings designed to work well for mainstream usage.
The default runtime configuration, with settings designed to work well for mainstream usage. Advanced users should consider making their own runtime configuration customized for specific application requirements.
- Definition Classes
- RuntimeConfigPlatformSpecific
- final val defaultYieldOpCount: Int(2048)
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
- RuntimeConfigPlatformSpecific
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def fromExecutionContext(ec: ExecutionContext, yieldOpCount: Int = defaultYieldOpCount): RuntimeConfig
Creates a RuntimeConfig from an execution context.
Creates a RuntimeConfig from an execution context.
- Definition Classes
- RuntimeConfigPlatformSpecific
- final def fromExecutor(executor0: Executor): RuntimeConfig
Creates a runtime configuration from an
Executor
.Creates a runtime configuration from an
Executor
.- Definition Classes
- RuntimeConfigPlatformSpecific
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- lazy val global: RuntimeConfig
A
RuntimeConfig
created from Scala's global execution context.A
RuntimeConfig
created from Scala's global execution context.- Definition Classes
- RuntimeConfigPlatformSpecific
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeDefault(yieldOpCount: Int = defaultYieldOpCount): RuntimeConfig
Makes a new default runtime configuration.
Makes a new default runtime configuration. This is a side-effecting method.
- Definition Classes
- RuntimeConfigPlatformSpecific
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()