object IORuntime extends IORuntimeCompanionPlatform
- Source
- IORuntime.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IORuntime
- IORuntimeCompanionPlatform
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
- def apply(compute: ExecutionContext, blocking: ExecutionContext, scheduler: Scheduler, shutdown: () => Unit, config: IORuntimeConfig): IORuntime
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def builder(): IORuntimeBuilder
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createDefaultBlockingExecutionContext(threadPrefix: String = "io-blocking"): (ExecutionContext, () => Unit)
- Definition Classes
- IORuntimeCompanionPlatform
- def createDefaultScheduler(threadPrefix: String = "io-scheduler"): (Scheduler, () => Unit)
- Definition Classes
- IORuntimeCompanionPlatform
- def createWorkStealingComputeThreadPool(threads: Int = Math.max(2, Runtime.getRuntime().availableProcessors()), threadPrefix: String = "io-compute", blockerThreadPrefix: String = DefaultBlockerPrefix, runtimeBlockingExpiration: Duration = 60.seconds, reportFailure: (Throwable) => Unit = _.printStackTrace(), blockedThreadDetectionEnabled: Boolean = false): (WorkStealingThreadPool, () => Unit)
- Definition Classes
- IORuntimeCompanionPlatform
- 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 getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def global: IORuntime
- Definition Classes
- IORuntimeCompanionPlatform
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
Deprecated Value Members
- def createDefaultComputeThreadPool(self: () => IORuntime, threads: Int, threadPrefix: String): (WorkStealingThreadPool, () => Unit)
- Definition Classes
- IORuntimeCompanionPlatform
- Annotations
- @deprecated
- Deprecated
(Since version 3.3.13) bincompat shim for previous default method overload
- def createDefaultComputeThreadPool(self: => IORuntime, threads: Int = Math.max(2, Runtime.getRuntime().availableProcessors()), threadPrefix: String = "io-compute", blockerThreadPrefix: String = DefaultBlockerPrefix): (WorkStealingThreadPool, () => Unit)
- Definition Classes
- IORuntimeCompanionPlatform
- Annotations
- @deprecated
- Deprecated
(Since version 3.4.0) Replaced by the simpler and safer
createWorkStealingComputePool
- def createWorkStealingComputeThreadPool(threads: Int, threadPrefix: String, blockerThreadPrefix: String, runtimeBlockingExpiration: Duration, reportFailure: (Throwable) => Unit): (WorkStealingThreadPool, () => Unit)
- Definition Classes
- IORuntimeCompanionPlatform
- Annotations
- @deprecated
- Deprecated
(Since version 3.5.0) Preserved for binary-compatibility