RuntimeFlag

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case object CooperativeYielding extends RuntimeFlag

The cooperative yielding flag determines whether the ZIO runtime will yield to another fiber.

The cooperative yielding flag determines whether the ZIO runtime will yield to another fiber.

case object CurrentFiber extends RuntimeFlag

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.

case object FiberRoots extends RuntimeFlag

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.

case object Interruption extends RuntimeFlag

The interruption flag determines whether or not the ZIO runtime system will interrupt a fiber.

The interruption flag determines whether or not the ZIO runtime system will interrupt a fiber.

case object OpLog extends RuntimeFlag

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.

case object OpSupervision extends RuntimeFlag

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.

case object RuntimeMetrics extends RuntimeFlag

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.

case object WindDown extends RuntimeFlag

The wind down flag determines whether the ZIO runtime system will execute effects in wind-down mode. In wind-down mode, even if interruption is enabled and a fiber has been interrupted, the fiber will continue its execution uninterrupted.

The wind down flag determines whether the ZIO runtime system will execute effects in wind-down mode. In wind-down mode, even if interruption is enabled and a fiber has been interrupted, the fiber will continue its execution uninterrupted.

case object WorkStealing extends RuntimeFlag

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.

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete fields

lazy val all: Set[RuntimeFlag]