RuntimeFlag

zio.RuntimeFlag$
See theRuntimeFlag companion trait

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
OpLog.type
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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete fields