Packages

c

akka.util

BoundedBlockingQueue

class BoundedBlockingQueue[E <: AnyRef] extends AbstractQueue[E] with BlockingQueue[E]

BoundedBlockingQueue wraps any Queue and turns the result into a BlockingQueue with a limited capacity.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BoundedBlockingQueue
  2. BlockingQueue
  3. AbstractQueue
  4. Queue
  5. AbstractCollection
  6. Collection
  7. Iterable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BoundedBlockingQueue(maxCapacity: Int, backing: Queue[E])

    maxCapacity

    - the maximum capacity of this Queue, needs to be > 0

    backing

    - the backing Queue

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. def add(arg0: E): Boolean
    Definition Classes
    AbstractQueue → Queue → AbstractCollection → Collection
  5. def addAll(arg0: Collection[_ <: E]): Boolean
    Definition Classes
    AbstractQueue → AbstractCollection → Collection
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clear(): Unit
    Definition Classes
    BoundedBlockingQueue → AbstractQueue → AbstractCollection → Collection
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. def contains(e: AnyRef): Boolean
    Definition Classes
    BoundedBlockingQueue → BlockingQueue → AbstractCollection → Collection
  10. def containsAll(c: Collection[_]): Boolean
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  11. def createLock(): ReentrantLock
    Attributes
    protected
  12. def createNotEmptyCondition(): Condition
    Attributes
    protected
  13. def createNotFullCondition(): Condition
    Attributes
    protected
  14. def drainTo(c: Collection[_ >: E], maxElements: Int): Int
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  15. def drainTo(c: Collection[_ >: E]): Int
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  16. def element(): E
    Definition Classes
    AbstractQueue → Queue
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def forEach(arg0: Consumer[_ >: E <: AnyRef]): Unit
    Definition Classes
    Iterable
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  22. def isEmpty(): Boolean
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def iterator(): Iterator[E]
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection → Iterable
  25. val lock: ReentrantLock
    Attributes
    protected
  26. val maxCapacity: Int
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. val notEmpty: Condition
    Attributes
    protected
  29. val notFull: Condition
    Attributes
    protected
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  32. def offer(e: E, timeout: Long, unit: TimeUnit): Boolean
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  33. def offer(e: E): Boolean
    Definition Classes
    BoundedBlockingQueue → BlockingQueue → Queue
  34. def parallelStream(): Stream[E]
    Definition Classes
    Collection
  35. def peek(): E
    Definition Classes
    BoundedBlockingQueue → Queue
  36. def poll(): E
    Definition Classes
    BoundedBlockingQueue → Queue
  37. def poll(timeout: Long, unit: TimeUnit): E
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  38. def put(e: E): Unit
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  39. def remainingCapacity(): Int
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  40. def remove(e: AnyRef): Boolean
    Definition Classes
    BoundedBlockingQueue → BlockingQueue → AbstractCollection → Collection
  41. def remove(): E
    Definition Classes
    AbstractQueue → Queue
  42. def removeAll(c: Collection[_]): Boolean
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  43. def removeIf(arg0: Predicate[_ >: E <: AnyRef]): Boolean
    Definition Classes
    Collection
  44. def retainAll(c: Collection[_]): Boolean
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  45. def size(): Int
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  46. def spliterator(): Spliterator[E]
    Definition Classes
    Collection → Iterable
  47. def stream(): Stream[E]
    Definition Classes
    Collection
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. def take(): E
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  50. def toArray[X](a: Array[X]): Array[X]
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  51. def toArray(): Array[AnyRef]
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  52. def toArray[T <: AnyRef](arg0: IntFunction[Array[T]]): Array[T]
    Definition Classes
    Collection
  53. def toString(): String
    Definition Classes
    AbstractCollection → AnyRef → Any
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from BlockingQueue[E]

Inherited from AbstractQueue[E]

Inherited from Queue[E]

Inherited from AbstractCollection[E]

Inherited from Collection[E]

Inherited from Iterable[E]

Inherited from AnyRef

Inherited from Any

Ungrouped