Packages

class MessageQueue extends BoundedBlockingQueue[Envelope] with BoundedQueueBasedMessageQueue

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MessageQueue
  2. BoundedQueueBasedMessageQueue
  3. BoundedMessageQueueSemantics
  4. QueueBasedMessageQueue
  5. MultipleConsumerSemantics
  6. MessageQueue
  7. BoundedBlockingQueue
  8. BlockingQueue
  9. AbstractQueue
  10. Queue
  11. AbstractCollection
  12. Collection
  13. Iterable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MessageQueue(capacity: Int, cmp: Comparator[Envelope], pushTimeOut: Duration)

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: Envelope): Boolean
    Definition Classes
    AbstractQueue → Queue → AbstractCollection → Collection
  5. def addAll(arg0: Collection[_ <: Envelope]): Boolean
    Definition Classes
    AbstractQueue → AbstractCollection → Collection
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def cleanUp(owner: ActorRef, deadLetters: dispatch.MessageQueue): Unit

    Called when the mailbox this queue belongs to is disposed of.

    Called when the mailbox this queue belongs to is disposed of. Normally it is expected to transfer all remaining messages into the dead letter queue which is passed in. The owner of this MessageQueue is passed in if available (e.g. for creating DeadLetters()), “/deadletters” otherwise.

    Note that we implement the method in a recursive manner mainly for atomicity (not touching the queue twice).

    Definition Classes
    QueueBasedMessageQueueMessageQueue
  8. def clear(): Unit
    Definition Classes
    BoundedBlockingQueue → AbstractQueue → AbstractCollection → Collection
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. def contains(e: AnyRef): Boolean
    Definition Classes
    BoundedBlockingQueue → BlockingQueue → AbstractCollection → Collection
  11. def containsAll(c: Collection[_]): Boolean
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  12. def createLock(): ReentrantLock
    Attributes
    protected
    Definition Classes
    BoundedBlockingQueue
  13. def createNotEmptyCondition(): Condition
    Attributes
    protected
    Definition Classes
    BoundedBlockingQueue
  14. def createNotFullCondition(): Condition
    Attributes
    protected
    Definition Classes
    BoundedBlockingQueue
  15. def dequeue(): Envelope

    Try to dequeue the next message from this queue, return null failing that.

    Try to dequeue the next message from this queue, return null failing that.

    Definition Classes
    BoundedQueueBasedMessageQueueMessageQueue
  16. def drainTo(c: Collection[_ >: Envelope], maxElements: Int): Int
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  17. def drainTo(c: Collection[_ >: Envelope]): Int
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  18. def element(): Envelope
    Definition Classes
    AbstractQueue → Queue
  19. def enqueue(receiver: ActorRef, handle: Envelope): Unit

    Try to enqueue the message to this queue, or throw an exception.

    Try to enqueue the message to this queue, or throw an exception.

    Definition Classes
    BoundedQueueBasedMessageQueueMessageQueue
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def forEach(arg0: Consumer[_ >: Envelope <: AnyRef]): Unit
    Definition Classes
    Iterable
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  24. def hasMessages: Boolean

    Indicates whether this queue is non-empty.

    Indicates whether this queue is non-empty.

    Definition Classes
    QueueBasedMessageQueueMessageQueue
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  26. def isEmpty(): Boolean
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def iterator(): Iterator[Envelope]
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection → Iterable
  29. val lock: ReentrantLock
    Attributes
    protected
    Definition Classes
    BoundedBlockingQueue
  30. val maxCapacity: Int
    Definition Classes
    BoundedBlockingQueue
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. val notEmpty: Condition
    Attributes
    protected
    Definition Classes
    BoundedBlockingQueue
  33. val notFull: Condition
    Attributes
    protected
    Definition Classes
    BoundedBlockingQueue
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  36. def numberOfMessages: Int

    Should return the current number of messages held in this queue; may always return 0 if no other value is available efficiently.

    Should return the current number of messages held in this queue; may always return 0 if no other value is available efficiently. Do not use this for testing for presence of messages, use hasMessages instead.

    Definition Classes
    QueueBasedMessageQueueMessageQueue
  37. def offer(e: Envelope, timeout: Long, unit: TimeUnit): Boolean
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  38. def offer(e: Envelope): Boolean
    Definition Classes
    BoundedBlockingQueue → BlockingQueue → Queue
  39. def parallelStream(): Stream[Envelope]
    Definition Classes
    Collection
  40. def peek(): Envelope
    Definition Classes
    BoundedBlockingQueue → Queue
  41. def poll(): Envelope
    Definition Classes
    BoundedBlockingQueue → Queue
  42. def poll(timeout: Long, unit: TimeUnit): Envelope
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  43. val pushTimeOut: Duration
  44. def put(e: Envelope): Unit
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  45. final def queue: BlockingQueue[Envelope]
  46. def remainingCapacity(): Int
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  47. def remove(e: AnyRef): Boolean
    Definition Classes
    BoundedBlockingQueue → BlockingQueue → AbstractCollection → Collection
  48. def remove(): Envelope
    Definition Classes
    AbstractQueue → Queue
  49. def removeAll(c: Collection[_]): Boolean
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  50. def removeIf(arg0: Predicate[_ >: Envelope <: AnyRef]): Boolean
    Definition Classes
    Collection
  51. def retainAll(c: Collection[_]): Boolean
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  52. def size(): Int
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  53. def spliterator(): Spliterator[Envelope]
    Definition Classes
    Collection → Iterable
  54. def stream(): Stream[Envelope]
    Definition Classes
    Collection
  55. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  56. def take(): Envelope
    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  57. def toArray[X](a: Array[X]): Array[X]
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  58. def toArray(): Array[AnyRef]
    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  59. def toArray[T <: AnyRef](arg0: IntFunction[Array[T]]): Array[T]
    Definition Classes
    Collection
  60. def toString(): String
    Definition Classes
    AbstractCollection → AnyRef → Any
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. 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 QueueBasedMessageQueue

Inherited from dispatch.MessageQueue

Inherited from BlockingQueue[Envelope]

Inherited from AbstractQueue[Envelope]

Inherited from Queue[Envelope]

Inherited from Collection[Envelope]

Inherited from Iterable[Envelope]

Inherited from AnyRef

Inherited from Any

Ungrouped