Packages

o

zio

RuntimeFlags

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RuntimeFlags
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Patch = Long

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(flags: RuntimeFlag*): RuntimeFlags
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def cooperativeYielding(flags: RuntimeFlags): Boolean
  8. def currentFiber(flags: RuntimeFlags): Boolean
  9. val default: RuntimeFlags

    The default set of runtime flags, recommended for most applications.

  10. def diff(oldValue: RuntimeFlags, newValue: RuntimeFlags): Patch
  11. def disable(flag: RuntimeFlag): Patch

    Creates a patch that disables the specified runtime flag.

  12. def disable(flags: RuntimeFlags)(flag: RuntimeFlag): RuntimeFlags
  13. def disableAll(self: RuntimeFlags)(that: RuntimeFlags): RuntimeFlags
  14. def eagerShiftBack(flags: RuntimeFlags): Boolean
  15. def enable(flag: RuntimeFlag): Patch

    Creates a patch that enables the specified runtime flag.

  16. def enable(flags: RuntimeFlags)(flag: RuntimeFlag): RuntimeFlags
  17. def enableAll(self: RuntimeFlags)(that: RuntimeFlags): RuntimeFlags
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def fiberRoots(flags: RuntimeFlags): Boolean
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def interruptible(flags: RuntimeFlags): Boolean

    This method returns true only if the flag Interruption is ENABLED, and also the flag WindDown is DISABLED.

    This method returns true only if the flag Interruption is ENABLED, and also the flag WindDown 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.

  24. def interruption(flags: RuntimeFlags): Boolean
  25. def isDisabled(flags: RuntimeFlags)(flag: RuntimeFlag): Boolean
  26. def isEnabled(flags: RuntimeFlags)(flag: RuntimeFlag): Boolean
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. val none: RuntimeFlags

    No runtime flags.

  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def opLog(flags: RuntimeFlags): Boolean
  33. def opSupervision(flags: RuntimeFlags): Boolean
  34. def patch(patch: Patch)(flags: RuntimeFlags): RuntimeFlags
  35. def render(flags: RuntimeFlags): String
  36. def runtimeMetrics(flags: RuntimeFlags): Boolean
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toSet(flags: RuntimeFlags): Set[RuntimeFlag]
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. def windDown(flags: RuntimeFlags): Boolean
  44. def workStealing(flags: RuntimeFlags): Boolean
  45. object Patch

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped