object RuntimeFlag
- Alphabetic
- By Inheritance
- RuntimeFlag
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- val all: Set[RuntimeFlag]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
object
CooperativeYielding extends RuntimeFlag with Product with Serializable
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.
-
object
CurrentFiber extends RuntimeFlag with Product with Serializable
The current fiber flag determines whether or not the ZIO runtime system will store the current fiber inside a
ThreadLocalwhenever a fiber begins executing on a thread.The current fiber flag determines whether or not the ZIO runtime system will store the current fiber inside a
ThreadLocalwhenever a fiber begins executing on a thread. Use of this flag will negatively impact performance, but is essential where interop with ThreadLocal is required. -
object
EagerShiftBack extends RuntimeFlag with Product with Serializable
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.
-
object
FiberRoots extends RuntimeFlag with Product with Serializable
The fiber roots flag determines whether or not the ZIO runtime system will keep track of all fiber roots.
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.
-
object
OpLog extends RuntimeFlag with Product with Serializable
The op log flag determines whether or not the ZIO runtime system will attempt to log all operations of the ZIO runtime.
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.
-
object
OpSupervision extends RuntimeFlag with Product with Serializable
The op supervision flag determines whether or not the IO runtime system will supervise all operations of the ZIO runtime.
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.
-
object
RuntimeMetrics extends RuntimeFlag with Product with Serializable
The runtime metrics flag determines whether or not the ZIO runtime system will collect metrics about the ZIO runtime.
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.
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
object
WorkStealing extends RuntimeFlag with Product with Serializable
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.
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.19) Unused + unimplemented: using this flag will have no effect