Package

zio

internal

Permalink

package internal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. internal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class ExecutionMetrics extends AnyRef

    Permalink
  2. trait FiberRunnable extends Runnable

    Permalink
  3. abstract class Hub[A] extends Serializable

    Permalink

    A Hub[A] is a concurrent data structure that allows multiple publishers to publish A values and multiple subscribers to poll A values with the guarantee that all subscribers will receive all values published to the hub while they are subscribed.

  4. abstract class MutableConcurrentQueue[A] extends AnyRef

    Permalink

    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 since invokevirtual is slightly cheaper than invokeinterface.

  5. final class OneElementConcurrentQueue[A] extends MutableConcurrentQueue[A] with Serializable

    Permalink
  6. abstract class RingBuffer[A] extends MutableConcurrentQueue[A]

    Permalink

    See zio.internal.RingBuffer for details on design, tradeoffs, etc.

  7. final class RingBufferArb[A] extends RingBuffer[A]

    Permalink
  8. final class RingBufferPow2[A] extends RingBuffer[A]

    Permalink
  9. class StackTraceBuilder extends AnyRef

    Permalink
  10. final class UniqueKey extends AnyRef

    Permalink

    This can be used whenever an arbitrary number of unique keys needs to be generated as this will just use memory location for equality.

  11. class WeakConcurrentBag[A] extends AnyRef

    Permalink

    A WeakConcurrentBag stores a collection of values, each wrapped in a WeakReference.

    A WeakConcurrentBag stores a collection of values, each wrapped in a WeakReference. The structure is optimized for addition, and will achieve zero allocations in the happy path (aside from the allocation of the WeakReference, which is unavoidable). To remove a value from the bag, it is sufficient to clear the corresponding weak reference, at which point the weak reference will be removed from the bag during the next garbage collection.

    Garbage collection happens regularly during the add operation. Assuming uniform distribution of hash codes of values added to the bag, the chance of garbage collection occurring during an add operation is 1/n, where n is the capacity of the table backing the bag.

  12. type Executor = zio.Executor

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use Executor

  13. type Platform = RuntimeConfig

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use RuntimeConfig

Value Members

  1. object FastList

    Permalink

    A List data type that tries to avoid allocating by special-casing the singleton list and preventing pattern matching.

  2. object FiberState extends Serializable

    Permalink
  3. object Hub extends Serializable

    Permalink
  4. object MutableConcurrentQueue

    Permalink
  5. object OneShot

    Permalink
  6. object Platform extends PlatformSpecific

    Permalink
  7. object RingBuffer

    Permalink
  8. object RingBufferArb

    Permalink
  9. object RingBufferPow2

    Permalink
  10. object SingleThreadedRingBuffer

    Permalink
  11. object StackTraceBuilder

    Permalink
  12. object UniqueKey

    Permalink
  13. object WeakConcurrentBag

    Permalink
  14. def ZIOSucceedNow[A](a: A): UIO[A]

    Permalink

    Returns an effect that models success with the specified value.

  15. def ZManagedSucceedNow[A](r: A): ZManaged[Any, Nothing, A]

    Permalink

    Lifts an eager, pure value into a Managed.

  16. def ZSTMSucceedNow[A](a: A): ZSTM[Any, Nothing, A]

    Permalink

    Returns an STM effect that succeeds with the specified value.

  17. package macros

    Permalink
  18. package metrics

    Permalink

Deprecated Value Members

  1. val Executor: zio.Executor.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use Executor

Inherited from AnyRef

Inherited from Any

Ungrouped