Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
RuntimeFlag.type
Members list
Type members
Classlikes
The cooperative yielding flag determines whether the ZIO runtime will yield to another fiber while executing long-running effects or continuously forking fibers.
The cooperative yielding flag determines whether the ZIO runtime will yield to another fiber while executing long-running effects or continuously forking fibers.
Disabling this flag is highly discouraged but it is necessary for cases where fine-grained control over fiber scheduling is required.
Attributes
- Supertypes
- Self type
-
CooperativeYielding.type
The current fiber flag determines whether or not the ZIO runtime system will store the current fiber inside a ThreadLocal whenever a fiber begins executing on a thread. Use of this flag will negatively impact performance, but is essential where interop with ThreadLocal is required.
The current fiber flag determines whether or not the ZIO runtime system will store the current fiber inside a ThreadLocal whenever a fiber begins executing on a thread. Use of this flag will negatively impact performance, but is essential where interop with ThreadLocal is required.
Attributes
- Supertypes
- Self type
-
CurrentFiber.type
Determines whether the ZIO runtime will eagerly shift back execution to the default executor following (enabled) or minimize context shifts by continuing execution on the same thread as long as possible (disabled).
Determines whether the ZIO runtime will eagerly shift back execution to the default executor following (enabled) or minimize context shifts by continuing execution on the same thread as long as possible (disabled).
Enabling this flag can positively or negatively affect performance depending on the specific characteristics of the application. For more info on this refer to this blog post.
Attributes
- Supertypes
- Self type
-
EagerShiftBack.type
The fiber roots flag determines whether or not the ZIO runtime system will keep track of all fiber roots. Use of this flag will negatively impact performance, but is required in order for fiber dumps functionality.
The fiber roots flag determines whether or not the ZIO runtime system will keep track of all fiber roots. Use of this flag will negatively impact performance, but is required in order for fiber dumps functionality.
Attributes
- Supertypes
- Self type
-
FiberRoots.type
The op log flag determines whether or not the ZIO runtime system will attempt to log all operations of the ZIO runtime. Use of this flag will negatively impact performance and generate massive volumes of ultra-fine debug logs. Only recommended for debugging.
The op log flag determines whether or not the ZIO runtime system will attempt to log all operations of the ZIO runtime. Use of this flag will negatively impact performance and generate massive volumes of ultra-fine debug logs. Only recommended for debugging.
Attributes
- Supertypes
- Self type
-
OpLog.type
The op supervision flag determines whether or not the IO runtime system will supervise all operations of the ZIO runtime. Use of this flag will negatively impact performance, but is required for some operations, such as profiling.
The op supervision flag determines whether or not the IO runtime system will supervise all operations of the ZIO runtime. Use of this flag will negatively impact performance, but is required for some operations, such as profiling.
Attributes
- Supertypes
- Self type
-
OpSupervision.type
The runtime metrics flag determines whether or not the ZIO runtime system will collect metrics about the ZIO runtime. Use of this flag will have a very small negative impact on performance, but generates very helpful operational insight into running ZIO applications that can be exported to Prometheus or other tools via ZIO Metrics.
The runtime metrics flag determines whether or not the ZIO runtime system will collect metrics about the ZIO runtime. Use of this flag will have a very small negative impact on performance, but generates very helpful operational insight into running ZIO applications that can be exported to Prometheus or other tools via ZIO Metrics.
Attributes
- Supertypes
- Self type
-
RuntimeMetrics.type
Deprecated classlikes
The work stealing flag determines whether threads running fibers about to asynchronously suspend will first attempt to steal work before suspending.
The work stealing flag determines whether threads running fibers about to asynchronously suspend will first attempt to steal work before suspending.
'''Note''': this flag is not implemented. zio.internal.ZScheduler will always steal work.
Attributes
- Deprecated
-
[Since version 2.1.19]Unused + unimplemented: using this flag will have no effect - Supertypes
- Self type
-
WorkStealing.type
Inherited and Abstract types
The names of the product elements
The name of the type