package internal
- Alphabetic
- By Inheritance
- internal
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract class ExecutionMetrics extends AnyRef
- trait FiberRunnable extends Runnable
- final class FiniteHistogram[A] extends AnyRef
- abstract class Hub[A] extends Serializable
A
Hub[A]is a concurrent data structure that allows multiple publishers to publishAvalues and multiple subscribers to pollAvalues with the guarantee that all subscribers will receive all values published to the hub while they are subscribed. - final class LongHistogram 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 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.
Deprecated Type Members
- type Executor = zio.Executor
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use Executor
- type Platform = RuntimeConfig
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use RuntimeConfig
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 FiberState extends Serializable
- object FiniteHistogram
- object Hub extends Serializable
- object LongHistogram
- object MutableConcurrentQueue
- object OneShot
- object Platform extends PlatformSpecific
- object RingBuffer
- object RingBufferArb
- object RingBufferPow2
- object SingleThreadedRingBuffer
- object Tracing extends Serializable
- object UniqueKey
- object ansi
Deprecated Value Members
- val Executor: zio.Executor.type
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use Executor