final class InPartiallyApplied[F[_]] extends AnyVal
- Source
- Queue.scala
- Alphabetic
- By Inheritance
- InPartiallyApplied
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new InPartiallyApplied(unused: Boolean)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bounded[G[_], A](maxSize: Int)(implicit mk: MkIn[F, G]): F[Queue[G, A]]
Creates a queue with the specified size bound.
- def boundedNoneTerminated[G[_], A](maxSize: Int)(implicit mk: MkIn[F, G]): F[NoneTerminatedQueue[G, A]]
Creates a bounded queue terminated by enqueueing
None
.Creates a bounded queue terminated by enqueueing
None
. All elements beforeNone
are preserved. - def circularBuffer[G[_], A](maxSize: Int)(implicit mk: MkIn[F, G]): F[Queue[G, A]]
Creates a queue which stores the last
maxSize
enqueued elements and which never blocks on enqueue. - def circularBufferNoneTerminated[G[_], A](maxSize: Int)(implicit mk: MkIn[F, G]): F[NoneTerminatedQueue[G, A]]
Creates a queue terminated by enqueueing
None
.Creates a queue terminated by enqueueing
None
. All elements beforeNone
are preserved and never blocks on enqueue. - def fairBounded[G[_], A](maxSize: Int, fairSize: Int)(implicit mk: MkIn[F, G]): F[Queue[G, A]]
Created a bounded queue that distributed always at max
fairSize
elements to any subscriber. - def fairUnbounded[G[_], A](fairSize: Int)(implicit mk: MkIn[F, G]): F[Queue[G, A]]
Creates an unbounded queue that distributed always at max
fairSize
elements to any subscriber. - def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def noneTerminated[G[_], A](implicit mk: MkIn[F, G]): F[NoneTerminatedQueue[G, A]]
Created an unbounded queue terminated by enqueueing
None
.Created an unbounded queue terminated by enqueueing
None
. All elements beforeNone
. - def synchronous[G[_], A](implicit mk: MkIn[F, G]): F[Queue[G, A]]
Creates a queue which allows at most a single element to be enqueued at any time.
- def synchronousNoneTerminated[G[_], A](implicit mk: MkIn[F, G]): F[NoneTerminatedQueue[G, A]]
Like synchronous, except that any enqueue of
None
will never block and cancels any dequeue operation. - def toString(): String
- Definition Classes
- Any
- def unbounded[G[_], A](implicit mk: MkIn[F, G]): F[Queue[G, A]]
Creates a queue with no size bound.