Object/Trait

fs2.concurrent

Queue

Related Docs: trait Queue | package concurrent

Permalink

object Queue

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

Type Members

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bounded[F[_], A](maxSize: Int)(implicit F: Concurrent[F]): F[Queue[F, A]]

    Permalink

    Creates a queue with the specified size bound.

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

    Permalink

    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]]

    Permalink

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

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def fairBounded[F[_], A](maxSize: Int, fairSize: Int)(implicit F: Concurrent[F]): F[Queue[F, A]]

    Permalink

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

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

    Permalink

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

  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def in[G[_]](implicit G: Sync[G]): InPartiallyApplied[G]

    Permalink

    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

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def noneTerminated[F[_], A](implicit F: Concurrent[F]): F[NoneTerminatedQueue[F, A]]

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def synchronous[F[_], A](implicit F: Concurrent[F]): F[Queue[F, A]]

    Permalink

    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]]

    Permalink

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

  25. def toString(): String

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

    Permalink

    Creates a queue with no size bound.

  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped