BoundedBlockingQueue
org.apache.pekko.util.BoundedBlockingQueue
class BoundedBlockingQueue[E <: AnyRef](val maxCapacity: Int, backing: Queue[E]) extends AbstractQueue[E], BlockingQueue[E]
BoundedBlockingQueue wraps any Queue and turns the result into a BlockingQueue with a limited capacity.
Value parameters
- backing
-
- the backing Queue
- maxCapacity
-
- the maximum capacity of this Queue, needs to be > 0
Attributes
- Source
- BoundedBlockingQueue.scala
- Graph
-
- Supertypes
-
trait BlockingQueue[E]class AbstractQueue[E]trait Queue[E]class AbstractCollection[E]trait Collection[E]trait Iterable[E]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class MessageQueueclass MessageQueue
Members list
Value members
Concrete methods
Attributes
- Definition Classes
-
AbstractQueue -> AbstractCollection -> Collection
- Source
- BoundedBlockingQueue.scala
Attributes
- Definition Classes
-
BlockingQueue -> AbstractCollection -> Collection
- Source
- BoundedBlockingQueue.scala
Attributes
- Definition Classes
-
AbstractCollection -> Collection
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Definition Classes
-
AbstractCollection -> Collection
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Definition Classes
-
BlockingQueue -> AbstractCollection -> Collection
- Source
- BoundedBlockingQueue.scala
Attributes
- Definition Classes
-
AbstractCollection -> Collection
- Source
- BoundedBlockingQueue.scala
Attributes
- Definition Classes
-
AbstractCollection -> Collection
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Source
- BoundedBlockingQueue.scala
Attributes
- Definition Classes
-
AbstractCollection -> Collection
- Source
- BoundedBlockingQueue.scala
Attributes
- Definition Classes
-
AbstractCollection -> Collection
- Source
- BoundedBlockingQueue.scala
Inherited methods
Attributes
- Inherited from:
- AbstractQueue
Attributes
- Inherited from:
- Collection
Attributes
- Inherited from:
- AbstractQueue
Attributes
- Inherited from:
- Collection
Attributes
- Inherited from:
- Collection
Attributes
- Inherited from:
- Collection
Attributes
- Inherited from:
- Collection
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Inherited from:
- AbstractCollection
Concrete fields
Attributes
- Source
- BoundedBlockingQueue.scala
In this article