Apache Pekko 2.0.0-M3+222-b197663b-SNAPSHOT - org.apache.pekko.dispatch.UnboundedStablePriorityMailbox.MessageQueue Apache Pekko2.0.0-M3+222-b197663b-SNAPSHOT < Back  Packages  package root Definition Classesroot  package org Definition Classesroot  package apache Definition Classesorg  package pekko Definition Classesapache  package dispatch Definition Classespekko  object UnboundedStablePriorityMailbox Definition Classesdispatch MessageQueue c org.apache.pekko.dispatch.UnboundedStablePriorityMailboxMessageQueue class MessageQueue extends StablePriorityBlockingQueue[Envelope] with UnboundedQueueBasedMessageQueue SourceMailbox.scala Linear Supertypes UnboundedQueueBasedMessageQueue, UnboundedMessageQueueSemantics, QueueBasedMessageQueue, MultipleConsumerSemantics, dispatch.MessageQueue, StablePriorityBlockingQueue[Envelope], PriorityQueueStabilizer[Envelope], AbstractQueue[Envelope], Queue[Envelope], AbstractCollection[Envelope], Collection[Envelope], Iterable[Envelope], AnyRef, Any Type Hierarchy  Ordering Alphabetic By Inheritance Inherited MessageQueue UnboundedQueueBasedMessageQueue UnboundedMessageQueueSemantics QueueBasedMessageQueue MultipleConsumerSemantics MessageQueue StablePriorityBlockingQueue PriorityQueueStabilizer AbstractQueue Queue AbstractCollection Collection Iterable AnyRef Any Implicitly by any2stringadd by StringFormat by Ensuring by ArrowAssoc Hide All Show All Visibility Public Protected Instance Constructors  new MessageQueue(initialCapacity: Int, cmp: Comparator[Envelope]) Value Members  final def !=(arg0: Any): Boolean Definition ClassesAnyRef → Any  final def ##: Int Definition ClassesAnyRef → Any  def +(other: String): String ImplicitThis member is added by an implicit conversion from MessageQueue toany2stringadd[MessageQueue] performed by method any2stringadd in scala.Predef.Definition Classesany2stringadd  def ->[B](y: B): (MessageQueue, B) ImplicitThis member is added by an implicit conversion from MessageQueue toArrowAssoc[MessageQueue] performed by method ArrowAssoc in scala.Predef.Definition ClassesArrowAssocAnnotations@inline()  final def ==(arg0: Any): Boolean Definition ClassesAnyRef → Any  def add(arg0: Envelope): Boolean Definition ClassesAbstractQueue → Queue → AbstractCollection → Collection  def addAll(arg0: Collection[_ <: Envelope]): Boolean Definition ClassesAbstractQueue → AbstractCollection → Collection  final def asInstanceOf[T0]: T0 Definition ClassesAny  val backingQueue: PriorityBlockingQueue[WrappedElement[Envelope]] Definition ClassesStablePriorityBlockingQueue → PriorityQueueStabilizer  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 ClassesQueueBasedMessageQueue → MessageQueue  def clear(): Unit Definition ClassesAbstractQueue → AbstractCollection → Collection  def clone(): AnyRef Attributesprotected[lang] Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()  def contains(arg0: AnyRef): Boolean Definition ClassesAbstractCollection → Collection  def containsAll(arg0: Collection[_ <: AnyRef]): Boolean Definition ClassesAbstractCollection → Collection  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 ClassesUnboundedQueueBasedMessageQueue → MessageQueue  def element(): Envelope Definition ClassesAbstractQueue → Queue  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 ClassesUnboundedQueueBasedMessageQueue → MessageQueue  def ensuring(cond: (MessageQueue) => Boolean, msg: => Any): MessageQueue ImplicitThis member is added by an implicit conversion from MessageQueue toEnsuring[MessageQueue] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: (MessageQueue) => Boolean): MessageQueue ImplicitThis member is added by an implicit conversion from MessageQueue toEnsuring[MessageQueue] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: Boolean, msg: => Any): MessageQueue ImplicitThis member is added by an implicit conversion from MessageQueue toEnsuring[MessageQueue] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: Boolean): MessageQueue ImplicitThis member is added by an implicit conversion from MessageQueue toEnsuring[MessageQueue] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  final def eq(arg0: AnyRef): Boolean Definition ClassesAnyRef  def equals(arg0: AnyRef): Boolean Definition ClassesAnyRef → Any  def forEach(arg0: Consumer[_ >: Envelope <: AnyRef]): Unit Definition ClassesIterable  final def getClass(): Class[_ <: AnyRef] Definition ClassesAnyRef → AnyAnnotations@IntrinsicCandidate() @native()  def hasMessages: Boolean Indicates whether this queue is non-empty. Indicates whether this queue is non-empty. Definition ClassesQueueBasedMessageQueue → MessageQueue  def hashCode(): Int Definition ClassesAnyRef → AnyAnnotations@IntrinsicCandidate() @native()  def isEmpty(): Boolean Definition ClassesAbstractCollection → Collection  final def isInstanceOf[T0]: Boolean Definition ClassesAny  def iterator(): Iterator[Envelope] Definition ClassesPriorityQueueStabilizer → AbstractCollection → Collection → Iterable  final def ne(arg0: AnyRef): Boolean Definition ClassesAnyRef  final def notify(): Unit Definition ClassesAnyRefAnnotations@IntrinsicCandidate() @native()  final def notifyAll(): Unit Definition ClassesAnyRefAnnotations@IntrinsicCandidate() @native()  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 ClassesQueueBasedMessageQueue → MessageQueue  def offer(e: Envelope): Boolean Definition ClassesPriorityQueueStabilizer → Queue  def parallelStream(): Stream[Envelope] Definition ClassesCollection  def peek(): Envelope Definition ClassesPriorityQueueStabilizer → Queue  def poll(): Envelope Definition ClassesPriorityQueueStabilizer → Queue  final def queue: Queue[Envelope] Definition ClassesMessageQueue → QueueBasedMessageQueue  def remove(): Envelope Definition ClassesAbstractQueue → Queue  def remove(arg0: AnyRef): Boolean Definition ClassesAbstractCollection → Collection  def removeAll(arg0: Collection[_ <: AnyRef]): Boolean Definition ClassesAbstractCollection → Collection  def removeIf(arg0: Predicate[_ >: Envelope <: AnyRef]): Boolean Definition ClassesCollection  def retainAll(arg0: Collection[_ <: AnyRef]): Boolean Definition ClassesAbstractCollection → Collection  val seqNum: AtomicLong Definition ClassesPriorityQueueStabilizer  def size(): Int Definition ClassesPriorityQueueStabilizer → AbstractCollection → Collection  def spliterator(): Spliterator[Envelope] Definition ClassesCollection → Iterable  def stream(): Stream[Envelope] Definition ClassesCollection  final def synchronized[T0](arg0: => T0): T0 Definition ClassesAnyRef  def toArray[T <: AnyRef](arg0: Array[T]): Array[T] Definition ClassesAbstractCollection → Collection  def toArray(): Array[AnyRef] Definition ClassesAbstractCollection → Collection  def toArray[T <: AnyRef](arg0: IntFunction[Array[T]]): Array[T] Definition ClassesCollection  def toString(): String Definition ClassesAbstractCollection → AnyRef → Any  final def wait(arg0: Long, arg1: Int): Unit Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.InterruptedException])  final def wait(arg0: Long): Unit Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.InterruptedException]) @native()  final def wait(): Unit Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.InterruptedException]) Deprecated Value Members  def finalize(): Unit Attributesprotected[lang] Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.Throwable]) @Deprecated Deprecated (Since version 9)  def formatted(fmtstr: String): String ImplicitThis member is added by an implicit conversion from MessageQueue toStringFormat[MessageQueue] performed by method StringFormat in scala.Predef.Definition ClassesStringFormatAnnotations@deprecated @inline() Deprecated (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.  def →[B](y: B): (MessageQueue, B) ImplicitThis member is added by an implicit conversion from MessageQueue toArrowAssoc[MessageQueue] performed by method ArrowAssoc in scala.Predef.Definition ClassesArrowAssocAnnotations@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 UnboundedQueueBasedMessageQueue Inherited from UnboundedMessageQueueSemantics Inherited from QueueBasedMessageQueue Inherited from MultipleConsumerSemantics Inherited from dispatch.MessageQueue Inherited from StablePriorityBlockingQueue[Envelope] Inherited from PriorityQueueStabilizer[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 Inherited by implicit conversion any2stringadd fromMessageQueue to any2stringadd[MessageQueue] Inherited by implicit conversion StringFormat fromMessageQueue to StringFormat[MessageQueue] Inherited by implicit conversion Ensuring fromMessageQueue to Ensuring[MessageQueue] Inherited by implicit conversion ArrowAssoc fromMessageQueue to ArrowAssoc[MessageQueue] Ungrouped