object RuntimeFlags
Maintains a set of runtime flags. Runtime flags affect the operation of the ZIO runtime system. They are exposed to application-level code because they affect the behavior and performance of application code.
For more information on individual flags, see zio.RuntimeFlag.
- Alphabetic
- By Inheritance
- RuntimeFlags
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(flags: RuntimeFlag*): RuntimeFlags
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def cooperativeYielding(flags: RuntimeFlags): Boolean
- def currentFiber(flags: RuntimeFlags): Boolean
- val default: RuntimeFlags
The default set of runtime flags, recommended for most applications.
- def diff(oldValue: RuntimeFlags, newValue: RuntimeFlags): Patch
- def disable(flag: RuntimeFlag): Patch
Creates a patch that disables the specified runtime flag.
- def disable(flags: RuntimeFlags)(flag: RuntimeFlag): RuntimeFlags
- def disableAll(self: RuntimeFlags)(that: RuntimeFlags): RuntimeFlags
- def eagerShiftBack(flags: RuntimeFlags): Boolean
- def enable(flag: RuntimeFlag): Patch
Creates a patch that enables the specified runtime flag.
- def enable(flags: RuntimeFlags)(flag: RuntimeFlag): RuntimeFlags
- def enableAll(self: RuntimeFlags)(that: RuntimeFlags): RuntimeFlags
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fiberRoots(flags: RuntimeFlags): Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def interruptible(flags: RuntimeFlags): Boolean
This method returns true only if the flag
Interruption
is ENABLED, and also the flagWindDown
is DISABLED.This method returns true only if the flag
Interruption
is ENABLED, and also the flagWindDown
is DISABLED.A fiber is said to be interruptible if the feature of Interruption is turned on, and the fiber is not in its wind-down phase, in which it takes care of cleanup activities related to fiber shutdown.
- def interruption(flags: RuntimeFlags): Boolean
- def isDisabled(flags: RuntimeFlags)(flag: RuntimeFlag): Boolean
- def isEnabled(flags: RuntimeFlags)(flag: RuntimeFlag): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val none: RuntimeFlags
No runtime flags.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def opLog(flags: RuntimeFlags): Boolean
- def opSupervision(flags: RuntimeFlags): Boolean
- def patch(patch: Patch)(flags: RuntimeFlags): RuntimeFlags
- def render(flags: RuntimeFlags): String
- def runtimeMetrics(flags: RuntimeFlags): Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toSet(flags: RuntimeFlags): Set[RuntimeFlag]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def windDown(flags: RuntimeFlags): Boolean
- def workStealing(flags: RuntimeFlags): Boolean
- object Patch