Packages

c

slick.util

ManagedArrayBlockingQueue

class ManagedArrayBlockingQueue[E >: Null <: PrioritizedRunnable] extends AbstractQueue[E] with BlockingQueue[E] with Logging

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.

Furthermore this implementation has a pause feature where it does not pass through low- or mid-priority tasks when paused.

Self Type
ManagedArrayBlockingQueue[E]
Source
ManagedArrayBlockingQueue.scala
Linear Supertypes
Logging, BlockingQueue[E], AbstractQueue[E], Queue[E], AbstractCollection[E], Collection[E], Iterable[E], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ManagedArrayBlockingQueue
  2. Logging
  3. BlockingQueue
  4. AbstractQueue
  5. Queue
  6. AbstractCollection
  7. Collection
  8. Iterable
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ManagedArrayBlockingQueue(maximumInUse: Int, capacity: Int, fair: Boolean = false)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] toany2stringadd[ManagedArrayBlockingQueue[E]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ManagedArrayBlockingQueue[E], B)
    Implicit
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] toArrowAssoc[ManagedArrayBlockingQueue[E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def add(arg0: E): Boolean
    Definition Classes
    AbstractQueue → Queue → AbstractCollection → Collection
  7. def addAll(arg0: Collection[_ <: E]): Boolean
    Definition Classes
    AbstractQueue → AbstractCollection → Collection
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clear(): Unit
    Definition Classes
    ManagedArrayBlockingQueue → AbstractQueue → AbstractCollection → Collection
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def contains(o: AnyRef): Boolean
    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue → AbstractCollection → Collection
  12. def containsAll(arg0: Collection[_ <: AnyRef]): Boolean
    Definition Classes
    AbstractCollection → Collection
  13. def drainTo(c: Collection[_ >: E], maxElements: Int): Int
    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  14. def drainTo(c: Collection[_ >: E]): Int
    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  15. def element(): E
    Definition Classes
    AbstractQueue → Queue
  16. def ensuring(cond: (ManagedArrayBlockingQueue[E]) => Boolean, msg: => Any): ManagedArrayBlockingQueue[E]
    Implicit
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] toEnsuring[ManagedArrayBlockingQueue[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (ManagedArrayBlockingQueue[E]) => Boolean): ManagedArrayBlockingQueue[E]
    Implicit
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] toEnsuring[ManagedArrayBlockingQueue[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: => Any): ManagedArrayBlockingQueue[E]
    Implicit
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] toEnsuring[ManagedArrayBlockingQueue[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): ManagedArrayBlockingQueue[E]
    Implicit
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] toEnsuring[ManagedArrayBlockingQueue[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. def forEach(arg0: Consumer[_ >: E <: AnyRef]): Unit
    Definition Classes
    Iterable
  24. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] toStringFormat[ManagedArrayBlockingQueue[E]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def isEmpty(): Boolean
    Definition Classes
    AbstractCollection → Collection
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def iterator(): Iterator[E]
    Definition Classes
    ManagedArrayBlockingQueue → AbstractCollection → Collection → Iterable
  30. lazy val logger: SlickLogger
    Attributes
    protected[this]
    Definition Classes
    Logging
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  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 parallelStream(): Stream[E]
    Definition Classes
    Collection
  37. def peek(): E
    Definition Classes
    ManagedArrayBlockingQueue → Queue
  38. def poll(timeout: Long, unit: TimeUnit): E
    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  39. def poll(): E
    Definition Classes
    ManagedArrayBlockingQueue → Queue
  40. def put(e: E): Unit
    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  41. def remainingCapacity(): Int
    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  42. def remove(o: AnyRef): Boolean
    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue → AbstractCollection → Collection
  43. def remove(): E
    Definition Classes
    AbstractQueue → Queue
  44. def removeAll(arg0: Collection[_ <: AnyRef]): Boolean
    Definition Classes
    AbstractCollection → Collection
  45. def removeIf(arg0: Predicate[_ >: E <: AnyRef]): Boolean
    Definition Classes
    Collection
  46. def retainAll(arg0: Collection[_ <: AnyRef]): Boolean
    Definition Classes
    AbstractCollection → Collection
  47. def size(): Int
    Definition Classes
    ManagedArrayBlockingQueue → AbstractCollection → Collection
  48. def spliterator(): Spliterator[E]
    Definition Classes
    Collection → Iterable
  49. def stream(): Stream[E]
    Definition Classes
    Collection
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def take(): E
    Definition Classes
    ManagedArrayBlockingQueue → BlockingQueue
  52. def toArray[T <: AnyRef](arg0: Array[T]): Array[T]
    Definition Classes
    AbstractCollection → Collection
  53. def toArray(): Array[AnyRef]
    Definition Classes
    AbstractCollection → Collection
  54. def toString(): String
    Definition Classes
    AbstractCollection → AnyRef → Any
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def [B](y: B): (ManagedArrayBlockingQueue[E], B)
    Implicit
    This member is added by an implicit conversion from ManagedArrayBlockingQueue[E] toArrowAssoc[ManagedArrayBlockingQueue[E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Logging

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 fromManagedArrayBlockingQueue[E] to any2stringadd[ManagedArrayBlockingQueue[E]]

Inherited by implicit conversion StringFormat fromManagedArrayBlockingQueue[E] to StringFormat[ManagedArrayBlockingQueue[E]]

Inherited by implicit conversion Ensuring fromManagedArrayBlockingQueue[E] to Ensuring[ManagedArrayBlockingQueue[E]]

Inherited by implicit conversion ArrowAssoc fromManagedArrayBlockingQueue[E] to ArrowAssoc[ManagedArrayBlockingQueue[E]]

Ungrouped