package internal
- Alphabetic
- By Inheritance
- internal
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract class ExecutionMetrics extends AnyRef
- abstract class Executor extends ExecutorPlatformSpecific
An executor is responsible for executing actions.
An executor is responsible for executing actions. Each action is guaranteed to begin execution on a fresh stack frame.
- trait ExecutorPlatformSpecific extends AnyRef
- abstract class MutableConcurrentQueue[A] extends AnyRef
A MutableConcurrentQueue interface to use under the hood in ZIO.
A MutableConcurrentQueue interface to use under the hood in ZIO.
The implementation at minimum: 1. Should be non-blocking and ideally lock-free. 2. Should provide basic metrics such as how many elements were enqueued/dequeued.
- Attributes
- protected[zio]
- Note
this is declared as
abstract classsinceinvokevirtualis slightly cheaper thaninvokeinterface.
- final class OneElementConcurrentQueue[A] extends MutableConcurrentQueue[A] with Serializable
- abstract class Platform extends AnyRef
A
Platformprovides the minimum capabilities necessary to bootstrap execution ofZIOtasks. - final class RingBuffer[A] extends MutableConcurrentQueue[A]
See zio.internal.RingBuffer for details on design, tradeoffs, etc.
- final case class Tracing(tracer: Tracer, tracingConfig: TracingConfig) extends Product with Serializable
- final class UniqueKey extends AnyRef
This can be used whenever an arbitrary number of unique keys needs to be generated as this will just use memory location for equality.
Value Members
- def ZIOSucceedNow[A](a: A): UIO[A]
Returns an effect that models success with the specified value.
- def ZManagedSucceedNow[A](r: A): ZManaged[Any, Nothing, A]
Lifts an eager, pure value into a Managed.
- def ZSTMSucceedNow[A](a: A): ZSTM[Any, Nothing, A]
Returns an
STMeffect that succeeds with the specified value. - object Executor extends DefaultExecutors with Serializable
- object MutableConcurrentQueue
- object OneShot
- object Platform extends PlatformSpecific
- object RingBuffer
- object SingleThreadedRingBuffer
- object Tracing extends Serializable
- object UniqueKey