object IORuntime extends IORuntimeCompanionPlatform
Value Members
- final def !=(arg0: Any): Boolean
- final def ##: Int
- final def ==(arg0: Any): Boolean
- def apply(compute: ExecutionContext, blocking: ExecutionContext, scheduler: Scheduler, shutdown: () => Unit, config: IORuntimeConfig): IORuntime
- final def asInstanceOf[T0]: T0
- def builder(): IORuntimeBuilder
- def clone(): AnyRef
- def createDefaultBlockingExecutionContext(threadPrefix: String = "io-blocking"): (ExecutionContext, () => Unit)
- def createDefaultScheduler(threadPrefix: String = "io-scheduler"): (Scheduler, () => Unit)
- 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)
- final def eq(arg0: AnyRef): Boolean
- def equals(arg0: AnyRef): Boolean
- def finalize(): Unit
- final def getClass(): Class[_ <: AnyRef]
- def global: IORuntime
- def hashCode(): Int
- final def isInstanceOf[T0]: Boolean
- final def ne(arg0: AnyRef): Boolean
- final def notify(): Unit
- final def notifyAll(): Unit
- final def synchronized[T0](arg0: => T0): T0
- def toString(): String
- final def wait(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
Deprecated Value Members
- def createDefaultComputeThreadPool(self: () => IORuntime, threads: Int, threadPrefix: String): (WorkStealingThreadPool, () => Unit)
- def createDefaultComputeThreadPool(self: => IORuntime, threads: Int = Math.max(2, Runtime.getRuntime().availableProcessors()), threadPrefix: String = "io-compute", blockerThreadPrefix: String = DefaultBlockerPrefix): (WorkStealingThreadPool, () => Unit)
- def createWorkStealingComputeThreadPool(threads: Int, threadPrefix: String, blockerThreadPrefix: String, runtimeBlockingExpiration: Duration, reportFailure: (Throwable) => Unit): (WorkStealingThreadPool, () => Unit)
Inherited from IORuntimeCompanionPlatform
Value Members
- def createDefaultBlockingExecutionContext(threadPrefix: String = "io-blocking"): (ExecutionContext, () => Unit)
- def createDefaultScheduler(threadPrefix: String = "io-scheduler"): (Scheduler, () => Unit)
- 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)
- def global: IORuntime
- def createDefaultComputeThreadPool(self: () => IORuntime, threads: Int, threadPrefix: String): (WorkStealingThreadPool, () => Unit)
- def createDefaultComputeThreadPool(self: => IORuntime, threads: Int = Math.max(2, Runtime.getRuntime().availableProcessors()), threadPrefix: String = "io-compute", blockerThreadPrefix: String = DefaultBlockerPrefix): (WorkStealingThreadPool, () => Unit)
- def createWorkStealingComputeThreadPool(threads: Int, threadPrefix: String, blockerThreadPrefix: String, runtimeBlockingExpiration: Duration, reportFailure: (Throwable) => Unit): (WorkStealingThreadPool, () => Unit)
Inherited from Any
Value Members
- final def asInstanceOf[T0]: T0
- final def isInstanceOf[T0]: Boolean
Ungrouped
- final def !=(arg0: Any): Boolean
- final def ##: Int
- final def ==(arg0: Any): Boolean
- def apply(compute: ExecutionContext, blocking: ExecutionContext, scheduler: Scheduler, shutdown: () => Unit, config: IORuntimeConfig): IORuntime
- final def asInstanceOf[T0]: T0
- def builder(): IORuntimeBuilder
- def clone(): AnyRef
- def createDefaultBlockingExecutionContext(threadPrefix: String = "io-blocking"): (ExecutionContext, () => Unit)
- def createDefaultScheduler(threadPrefix: String = "io-scheduler"): (Scheduler, () => Unit)
- 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)
- final def eq(arg0: AnyRef): Boolean
- def equals(arg0: AnyRef): Boolean
- def finalize(): Unit
- final def getClass(): Class[_ <: AnyRef]
- def global: IORuntime
- def hashCode(): Int
- final def isInstanceOf[T0]: Boolean
- final def ne(arg0: AnyRef): Boolean
- final def notify(): Unit
- final def notifyAll(): Unit
- final def synchronized[T0](arg0: => T0): T0
- def toString(): String
- final def wait(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- def createDefaultComputeThreadPool(self: () => IORuntime, threads: Int, threadPrefix: String): (WorkStealingThreadPool, () => Unit)
- def createDefaultComputeThreadPool(self: => IORuntime, threads: Int = Math.max(2, Runtime.getRuntime().availableProcessors()), threadPrefix: String = "io-compute", blockerThreadPrefix: String = DefaultBlockerPrefix): (WorkStealingThreadPool, () => Unit)
- def createWorkStealingComputeThreadPool(threads: Int, threadPrefix: String, blockerThreadPrefix: String, runtimeBlockingExpiration: Duration, reportFailure: (Throwable) => Unit): (WorkStealingThreadPool, () => Unit)