akka.dispatch.BoundedPriorityMailbox

MessageQueue

class MessageQueue extends BoundedBlockingQueue[Envelope] with BoundedQueueBasedMessageQueue

Linear Supertypes
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def add(arg0: Envelope): Boolean

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

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

    Definition Classes
    Any
  9. 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.

    Definition Classes
    QueueBasedMessageQueueMessageQueue
  10. def clear(): Unit

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

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

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

    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  14. 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
  15. def drainTo(c: Collection[_ >: Envelope], maxElements: Int): Int

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

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

    Definition Classes
    AbstractQueue → Queue
  18. 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
  19. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  21. def forEach(arg0: Consumer[_ >: Envelope]): Unit

    Definition Classes
    Iterable
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def hasMessages: Boolean

    Indicates whether this queue is non-empty.

    Indicates whether this queue is non-empty.

    Definition Classes
    QueueBasedMessageQueueMessageQueue
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def isEmpty(): Boolean

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

    Definition Classes
    Any
  27. def iterator(): Iterator[Envelope]

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

    Attributes
    protected
    Definition Classes
    BoundedBlockingQueue
  29. val maxCapacity: Int

    Definition Classes
    BoundedBlockingQueue
  30. final def ne(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  33. 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
  34. def offer(e: Envelope, timeout: Long, unit: TimeUnit): Boolean

    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  35. def offer(e: Envelope): Boolean

    Definition Classes
    BoundedBlockingQueue → BlockingQueue → Queue
  36. def parallelStream(): Stream[Envelope]

    Definition Classes
    Collection
  37. def peek(): Envelope

    Definition Classes
    BoundedBlockingQueue → Queue
  38. def poll(): Envelope

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

    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  40. val pushTimeOut: Duration

  41. def put(e: Envelope): Unit

    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  42. final def queue: BlockingQueue[Envelope]

  43. def remainingCapacity(): Int

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

    Definition Classes
    BoundedBlockingQueue → BlockingQueue → AbstractCollection → Collection
  45. def remove(): Envelope

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

    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  47. def removeIf(arg0: Predicate[_ >: Envelope]): Boolean

    Definition Classes
    Collection
  48. def retainAll(c: Collection[_]): Boolean

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

    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  50. def spliterator(): Spliterator[Envelope]

    Definition Classes
    Collection → Iterable
  51. def stream(): Stream[Envelope]

    Definition Classes
    Collection
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  53. def take(): Envelope

    Definition Classes
    BoundedBlockingQueue → BlockingQueue
  54. def toArray[X](a: Array[X]): Array[X]

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

    Definition Classes
    BoundedBlockingQueue → AbstractCollection → Collection
  56. def toArray[T](arg0: IntFunction[Array[T]]): Array[T]

    Definition Classes
    Collection
  57. def toString(): String

    Definition Classes
    AbstractCollection → AnyRef → Any
  58. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from QueueBasedMessageQueue

Inherited from MultipleConsumerSemantics

Inherited from dispatch.MessageQueue

Inherited from BoundedBlockingQueue[Envelope]

Inherited from BlockingQueue[Envelope]

Inherited from AbstractQueue[Envelope]

Inherited from Queue[Envelope]

Inherited from AbstractCollection[Envelope]

Inherited from Collection[Envelope]

Inherited from Iterable[Envelope]

Inherited from AnyRef

Inherited from Any

Ungrouped