package internal
- Alphabetic
- By Inheritance
- internal
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- 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
-
final
case class
Platform(blockingExecutor: Executor, executor: Executor, tracing: Tracing, fatal: (Throwable) ⇒ Boolean, reportFatal: (Throwable) ⇒ Nothing, reportFailure: (Cause[Any]) ⇒ Unit, supervisor: Supervisor[Any], enableCurrentFiber: Boolean) extends Product with Serializable
A
Platformprovides the minimum capabilities necessary to bootstrap execution ofZIOtasks. -
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
STMeffect that succeeds with the specified value. - object Executor extends DefaultExecutors with Serializable
- object FiberState extends Serializable
- object FiniteHistogram
- object Hub extends Serializable
- object LongHistogram
- object MutableConcurrentQueue
- object OneShot
- object Platform extends PlatformSpecific with Serializable
- object RingBuffer
- object RingBufferArb
- object RingBufferPow2
- object SingleThreadedRingBuffer
- object Tracing extends Serializable
- object UniqueKey
- object ansi