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

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 arg0: Concurrent[F]): F[Queue[F, A]]

    Creates a queue with the specified size bound.

  6. def boundedNoneTerminated[F[_], A](maxSize: Int)(implicit arg0: 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 arg0: 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 arg0: 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. def create[F[_], S, A](strategy: Strategy[A, Chunk[A], S, Int])(implicit arg0: Concurrent[F]): F[Queue[F, A]]
  11. def createNoneTerminated[F[_], S, A](strategy: Strategy[Option[A], Option[Chunk[A]], S, Int])(implicit F: Concurrent[F]): F[NoneTerminatedQueue[F, A]]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def fairBounded[F[_], A](maxSize: Int, fairSize: Int)(implicit arg0: Concurrent[F]): F[Queue[F, A]]

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

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

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

  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def noneTerminated[F[_], A](implicit arg0: 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.

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

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

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

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

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

    Creates a queue with no size bound.

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

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