Builder object for creating custom IORuntime
s. Useful for creating IORuntime based on
the default one but with some wrappers around execution contexts or custom shutdown hooks.
Attributes
- Companion:
- object
- Source:
- IORuntimeBuilder.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Introduce additional shutdown hook to be executed after compute, blocking and scheduler shutdown logic is invoked
Introduce additional shutdown hook to be executed after compute, blocking and scheduler shutdown logic is invoked
Attributes
- shutdown
the shutdown hook executed upon IORuntime shutdown
- Source:
- IORuntimeBuilder.scala
Attributes
- Source:
- IORuntimeBuilder.scala
Override the default blocking execution context
Override the default blocking execution context
Attributes
- blocking
the ExecutionContext for blocking operations
- shutdown
ExecutionContext shutdown hook
- Source:
- IORuntimeBuilder.scala
Set a custom compute pool
Set a custom compute pool
Attributes
- compute
the ExecutionContext for the compute pool
- shutdown
IORuntime shutdown hook
- Source:
- IORuntimeBuilder.scala
Provide custom IORuntimeConfig for created IORuntime
Provide custom IORuntimeConfig for created IORuntime
Attributes
- config
the runtime configuration
- Source:
- IORuntimeBuilder.scala
Attributes
- Source:
- IORuntimeBuilder.scala
Override the default scheduler
Override the default scheduler
Attributes
- scheduler
the custom scheduler
- shutdown
Scheduler shutdown hook
- Source:
- IORuntimeBuilder.scala
Modifies the execution underlying blocking execution context. Useful in case you want to
use the default blocking context but add extra logic to execute
, e.g. for adding
instrumentation.
Modifies the execution underlying blocking execution context. Useful in case you want to
use the default blocking context but add extra logic to execute
, e.g. for adding
instrumentation.
Attributes
- transform
the modification of the current blocking execution context
- Source:
- IORuntimeBuilder.scala
Modifies the execution underlying execution context. Useful in case you want to use the
default compute but add extra logic to execute
, e.g. for adding instrumentation.
Modifies the execution underlying execution context. Useful in case you want to use the
default compute but add extra logic to execute
, e.g. for adding instrumentation.
Attributes
- transform
the modification of the current compute execution context
- Source:
- IORuntimeBuilder.scala
Inherited methods
Attributes
- Inherited from:
- IORuntimeBuilderPlatform (hidden)
- Source:
- IORuntimeBuilderPlatform.scala