trait BoundedSourceQueue[T] extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- BoundedSourceQueue
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def complete(): Unit
Completes the stream normally.
- abstract def fail(ex: Throwable): Unit
Completes the stream with a failure.
- abstract def offer(elem: T): QueueOfferResult
Returns a akka.stream.QueueOfferResult that notifies the caller if the element could be enqueued or not, or the completion status of the queue.
Returns a akka.stream.QueueOfferResult that notifies the caller if the element could be enqueued or not, or the completion status of the queue.
A result of
QueueOfferResult.Enqueued
does not guarantee that an element also has been or will be processed by the downstream. - abstract def size(): Int
Returns the approximate number of elements in this queue.
A queue of the given size that gives immediate feedback whether an element could be enqueued or not.
Not for user extension