Packages

object Queue

Source
Queue.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Queue
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final class InPartiallyApplied[G[_]] extends AnyVal

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bounded[F[_], A](maxSize: Int)(implicit F: Concurrent[F]): F[Queue[F, A]]

    Creates a queue with the specified size bound.

  6. def boundedNoneTerminated[F[_], A](maxSize: Int)(implicit F: Concurrent[F]): F[NoneTerminatedQueue[F, A]]

    Creates a bounded queue terminated by enqueueing None.

    Creates a bounded queue terminated by enqueueing None. All elements before None are preserved.

  7. def circularBuffer[F[_], A](maxSize: Int)(implicit F: Concurrent[F]): F[Queue[F, A]]

    Creates a queue which stores the last maxSize enqueued elements and which never blocks on enqueue.

  8. def circularBufferNoneTerminated[F[_], A](maxSize: Int)(implicit F: Concurrent[F]): F[NoneTerminatedQueue[F, A]]

    Creates a queue terminated by enqueueing None.

    Creates a queue terminated by enqueueing None. All elements before None are preserved and never blocks on enqueue.

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def fairBounded[F[_], A](maxSize: Int, fairSize: Int)(implicit F: Concurrent[F]): F[Queue[F, A]]

    Created a bounded queue that distributed always at max fairSize elements to any subscriber.

  13. def fairUnbounded[F[_], A](fairSize: Int)(implicit F: Concurrent[F]): F[Queue[F, A]]

    Creates an unbounded queue that distributed always at max fairSize elements to any subscriber.

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def in[G[_]](implicit G: Sync[G]): InPartiallyApplied[[_]G[_]]

    Provides constructors for Queue with state initialized using another Sync datatype.

    Provides constructors for Queue with state initialized using another Sync datatype.

    This method uses the Partially Applied Type Params technique

    val queue = Queue.in[SyncIO].unbounded[IO, String]
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def noneTerminated[F[_], A](implicit F: Concurrent[F]): F[NoneTerminatedQueue[F, A]]

    Created an unbounded queue terminated by enqueueing None.

    Created an unbounded queue terminated by enqueueing None. All elements before None.

  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def synchronous[F[_], A](implicit F: Concurrent[F]): F[Queue[F, A]]

    Creates a queue which allows at most a single element to be enqueued at any time.

  24. def synchronousNoneTerminated[F[_], A](implicit F: Concurrent[F]): F[NoneTerminatedQueue[F, A]]

    Like synchronous, except that any enqueue of None will never block and cancels any dequeue operation.

  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def unbounded[F[_], A](implicit F: Concurrent[F]): F[Queue[F, A]]

    Creates a queue with no size bound.

  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped