final class InPartiallyApplied[G[_]] extends AnyVal
- Source
- Queue.scala
- Alphabetic
- By Inheritance
- InPartiallyApplied
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new InPartiallyApplied(G: Sync[G])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- val G: Sync[G]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bounded[F[_], A](maxSize: Int)(implicit F: Concurrent[F]): G[Queue[F, A]]
Creates a queue with the specified size bound.
- def boundedNoneTerminated[F[_], A](maxSize: Int)(implicit F: Concurrent[F]): G[NoneTerminatedQueue[F, A]]
Creates a bounded queue terminated by enqueueing
None
.Creates a bounded queue terminated by enqueueing
None
. All elements beforeNone
are preserved. - def circularBuffer[F[_], A](maxSize: Int)(implicit F: Concurrent[F]): G[Queue[F, A]]
Creates a queue which stores the last
maxSize
enqueued elements and which never blocks on enqueue. - def circularBufferNoneTerminated[F[_], A](maxSize: Int)(implicit F: Concurrent[F]): G[NoneTerminatedQueue[F, 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[F[_], A](maxSize: Int, fairSize: Int)(implicit F: Concurrent[F]): G[Queue[F, A]]
Created a bounded queue that distributed always at max
fairSize
elements to any subscriber. - def fairUnbounded[F[_], A](fairSize: Int)(implicit F: Concurrent[F]): G[Queue[F, 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[F[_], A](implicit F: Concurrent[F]): G[NoneTerminatedQueue[F, A]]
Created an unbounded queue terminated by enqueueing
None
.Created an unbounded queue terminated by enqueueing
None
. All elements beforeNone
. - def synchronous[F[_], A](implicit F: Concurrent[F]): G[Queue[F, A]]
Creates a queue which allows at most a single element to be enqueued at any time.
- def synchronousNoneTerminated[F[_], A](implicit F: Concurrent[F]): G[NoneTerminatedQueue[F, 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[F[_], A](implicit F: Concurrent[F]): G[Queue[F, A]]
Creates a queue with no size bound.