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 Hub[A] extends Serializable
A
Hub[A]
is a concurrent data structure that allows multiple publishers to publishA
values and multiple subscribers to pollA
values with the guarantee that all subscribers will receive all values published to the hub while they are subscribed. - 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 class
sinceinvokevirtual
is slightly cheaper thaninvokeinterface
.
- final class OneElementConcurrentQueue[A] extends MutableConcurrentQueue[A] with Serializable
- abstract class Platform extends AnyRef
A
Platform
provides the minimum capabilities necessary to bootstrap execution ofZIO
tasks. - abstract class RingBuffer[A] extends MutableConcurrentQueue[A]
See zio.internal.RingBuffer for details on design, tradeoffs, etc.
- final class RingBufferArb[A] extends RingBuffer[A]
- final class RingBufferPow2[A] extends RingBuffer[A]
- 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
STM
effect that succeeds with the specified value. - object Executor extends DefaultExecutors with Serializable
- object Hub extends Serializable
- object MutableConcurrentQueue
- object OneShot
- object Platform extends PlatformSpecific
- object RingBuffer
- object RingBufferArb
- object RingBufferPow2
- object SingleThreadedRingBuffer
- object Tracing extends Serializable
- object UniqueKey