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

E

- The type of the contents of this Queue

Linear Supertypes
BlockingQueue[E], AbstractQueue[E], Queue[E], AbstractCollection[E], Collection[E], Iterable[E], AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
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
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (BoundedBlockingQueue[E], B)

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to ArrowAssoc[BoundedBlockingQueue[E]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def add(arg0: E): Boolean

    Definition Classes
    AbstractQueue → Queue → AbstractCollection → Collection
  9. def addAll(arg0: Collection[_ <: E]): Boolean

    Definition Classes
    AbstractQueue → AbstractCollection → Collection
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clear(): Unit

    Definition Classes
    BoundedBlockingQueue → AbstractQueue → AbstractCollection → Collection
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def contains(e: AnyRef): Boolean

    Definition Classes
    BoundedBlockingQueue → BlockingQueue → AbstractCollection → Collection
  14. def containsAll(c: Collection[_]): Boolean

    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  15. def drainTo(c: Collection[_ >: E], maxElements: Int): Int

    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  16. def drainTo(c: Collection[_ >: E]): Int

    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  17. def element(): E

    Definition Classes
    AbstractQueue → Queue
  18. def ensuring(cond: (BoundedBlockingQueue[E]) ⇒ Boolean, msg: ⇒ Any): BoundedBlockingQueue[E]

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to Ensuring[BoundedBlockingQueue[E]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (BoundedBlockingQueue[E]) ⇒ Boolean): BoundedBlockingQueue[E]

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to Ensuring[BoundedBlockingQueue[E]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: ⇒ Any): BoundedBlockingQueue[E]

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to Ensuring[BoundedBlockingQueue[E]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): BoundedBlockingQueue[E]

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to Ensuring[BoundedBlockingQueue[E]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. def isEmpty(): Boolean

    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def iterator(): Iterator[E]

    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection → Iterable
  31. val lock: ReentrantLock

    Attributes
    protected
  32. val maxCapacity: Int

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

  33. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  36. def offer(e: E, timeout: Long, unit: TimeUnit): Boolean

    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  37. def offer(e: E): Boolean

    Definition Classes
    BoundedBlockingQueue → BlockingQueue → Queue
  38. def peek(): E

    Definition Classes
    BoundedBlockingQueue → Queue
  39. def poll(): E

    Definition Classes
    BoundedBlockingQueue → Queue
  40. def poll(timeout: Long, unit: TimeUnit): E

    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  41. def put(e: E): Unit

    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  42. def remainingCapacity(): Int

    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  43. def remove(e: AnyRef): Boolean

    Definition Classes
    BoundedBlockingQueue → BlockingQueue → AbstractCollection → Collection
  44. def remove(): E

    Definition Classes
    AbstractQueue → Queue
  45. def removeAll(c: Collection[_]): Boolean

    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  46. def retainAll(c: Collection[_]): Boolean

    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  47. def size(): Int

    Definition Classes
    BoundedBlockingQueue → AbstractCollection → 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 toString(): String

    Definition Classes
    AbstractCollection → AnyRef → Any
  53. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. def [B](y: B): (BoundedBlockingQueue[E], B)

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to ArrowAssoc[BoundedBlockingQueue[E]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (boundedBlockingQueue: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (boundedBlockingQueue: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: BoundedBlockingQueue[E]

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to ArrowAssoc[BoundedBlockingQueue[E]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (boundedBlockingQueue: ArrowAssoc[BoundedBlockingQueue[E]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: BoundedBlockingQueue[E]

    Implicit information
    This member is added by an implicit conversion from BoundedBlockingQueue[E] to Ensuring[BoundedBlockingQueue[E]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (boundedBlockingQueue: Ensuring[BoundedBlockingQueue[E]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

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

Inherited by implicit conversion any2stringadd from BoundedBlockingQueue[E] to StringAdd

Inherited by implicit conversion any2stringfmt from BoundedBlockingQueue[E] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from BoundedBlockingQueue[E] to ArrowAssoc[BoundedBlockingQueue[E]]

Inherited by implicit conversion any2Ensuring from BoundedBlockingQueue[E] to Ensuring[BoundedBlockingQueue[E]]

Ungrouped