slick.util

ManagedArrayBlockingQueue

abstract class ManagedArrayBlockingQueue[E >: Null <: AnyRef] extends AbstractQueue[E] with BlockingQueue[E]

A simplified copy of java.util.concurrent.ArrayBlockingQueue with additional logic for temporarily rejecting elements based on the current size. All features of the original ArrayBlockingQueue have been ported, except the mutation methods of the iterator. See java.util.concurrent.ArrayBlockingQueue for documentation.

Self Type
ManagedArrayBlockingQueue[E]
Source
ManagedArrayBlockingQueue.scala
Linear Supertypes
BlockingQueue[E], AbstractQueue[E], Queue[E], AbstractCollection[E], Collection[E], Iterable[E], AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ManagedArrayBlockingQueue
  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 ManagedArrayBlockingQueue(capacity: Int, fair: Boolean = false)

Abstract Value Members

  1. abstract def accept(item: E, size: Int): Boolean

    Determine if the item should be accepted at the current time.

    Determine if the item should be accepted at the current time.

    Attributes
    protected[this]

Concrete 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 ManagedArrayBlockingQueue[E] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ManagedArrayBlockingQueue[E], B)

    Implicit information
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] to ArrowAssoc[ManagedArrayBlockingQueue[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
    ManagedArrayBlockingQueue → AbstractQueue → AbstractCollection → Collection
  12. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Implicit information
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] to Ensuring[ManagedArrayBlockingQueue[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 ManagedArrayBlockingQueue[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
    AbstractCollection → Collection
  29. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    ManagedArrayBlockingQueue → AbstractCollection → Collection → Iterable
  31. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  35. def offer(e: E): Boolean

    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue → Queue
  36. def peek(): E

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

    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  38. def poll(): E

    Definition Classes
    ManagedArrayBlockingQueue → Queue
  39. def put(e: E): Unit

    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  40. def remainingCapacity(): Int

    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  41. def remove(o: AnyRef): Boolean

    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue → AbstractCollection → Collection
  42. def remove(): E

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

    Definition Classes
    AbstractCollection → Collection
  44. def retainAll(arg0: Collection[_]): Boolean

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

    Definition Classes
    ManagedArrayBlockingQueue → AbstractCollection → Collection
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  47. def take(): E

    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  48. def toArray[T](arg0: Array[T]): Array[T]

    Definition Classes
    AbstractCollection → Collection
  49. def toArray(): Array[AnyRef]

    Definition Classes
    AbstractCollection → Collection
  50. def toString(): String

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

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

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

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

    Implicit information
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] to ArrowAssoc[ManagedArrayBlockingQueue[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 ManagedArrayBlockingQueue[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:
    (managedArrayBlockingQueue: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[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:
    (managedArrayBlockingQueue: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: ManagedArrayBlockingQueue[E]

    Implicit information
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] to ArrowAssoc[ManagedArrayBlockingQueue[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:
    (managedArrayBlockingQueue: ArrowAssoc[ManagedArrayBlockingQueue[E]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ManagedArrayBlockingQueue[E]

    Implicit information
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] to Ensuring[ManagedArrayBlockingQueue[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:
    (managedArrayBlockingQueue: Ensuring[ManagedArrayBlockingQueue[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 ManagedArrayBlockingQueue[E] to StringAdd

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

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

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

Ungrouped