Apache Pekko 2.0.0-M3+222-b197663b-SNAPSHOT - org.apache.pekko.dispatch.SingleConsumerOnlyUnboundedMailbox 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  package affinity Definition Classesdispatch AbstractBoundedNodeQueue AbstractNodeQueue BalancingDispatcherConfigurator BoundedControlAwareMailbox BoundedControlAwareMessageQueueSemantics BoundedDequeBasedMailbox BoundedDequeBasedMessageQueue BoundedDequeBasedMessageQueueSemantics BoundedMailbox BoundedMessageQueueSemantics BoundedNodeMessageQueue BoundedPriorityMailbox BoundedQueueBasedMessageQueue BoundedStablePriorityMailbox CompletionStages ControlAwareMessageQueueSemantics ControlMessage DefaultExecutorServiceConfigurator DequeBasedMessageQueue DequeBasedMessageQueueSemantics Dispatcher DispatcherConfigurator DispatcherPrerequisites Dispatchers Envelope ExecutionContexts ExecutorServiceConfigurator ExecutorServiceDelegate ExecutorServiceFactory ExecutorServiceFactoryProvider ForkJoinExecutorConfigurator Futures MailboxType Mailboxes MessageDispatcher MessageDispatcherConfigurator MessageQueue MonitorableCarrierThreadFactory MonitorableThreadFactory MultipleConsumerSemantics NodeMessageQueue NonBlockingBoundedMailbox PinnedDispatcher PinnedDispatcherConfigurator PriorityGenerator ProducesMessageQueue QueueBasedMessageQueue RequiresMessageQueue SaneRejectedExecutionHandler SingleConsumerOnlyUnboundedMailbox TaskInvocation ThreadPoolConfig ThreadPoolConfigBuilder ThreadPoolExecutorConfigurator ThreadPoolExecutorServiceFactoryProvider UnboundedControlAwareMailbox UnboundedControlAwareMessageQueueSemantics UnboundedDequeBasedMailbox UnboundedDequeBasedMessageQueue UnboundedDequeBasedMessageQueueSemantics UnboundedMailbox UnboundedMessageQueueSemantics UnboundedPriorityMailbox UnboundedQueueBasedMessageQueue UnboundedStablePriorityMailbox VirtualThreadExecutorConfigurator VirtualizedExecutorService c org.apache.pekko.dispatchSingleConsumerOnlyUnboundedMailboxfinal case class SingleConsumerOnlyUnboundedMailbox() extends MailboxType with ProducesMessageQueue[NodeMessageQueue] with Product with Serializable SingleConsumerOnlyUnboundedMailbox is a high-performance, multiple producer—single consumer, unbounded MailboxType, with the drawback that you can't have multiple consumers, which rules out using it with BalancingPool (BalancingDispatcher) for instance. Currently this queue is slower for some benchmarks than the ConcurrentLinkedQueue from JDK 8 that is used by default, so be sure to measure the performance in your particular setting in order to determine which one to use. SourceMailbox.scala Linear Supertypes Serializable, Product, Equals, ProducesMessageQueue[NodeMessageQueue], MailboxType, AnyRef, Any Type Hierarchy  Ordering Alphabetic By Inheritance Inherited SingleConsumerOnlyUnboundedMailbox Serializable Product Equals ProducesMessageQueue MailboxType AnyRef Any Implicitly by any2stringadd by StringFormat by Ensuring by ArrowAssoc Hide All Show All Visibility Public Protected Instance Constructors  new SingleConsumerOnlyUnboundedMailbox(settings: Settings, config: Config)  new SingleConsumerOnlyUnboundedMailbox() 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 SingleConsumerOnlyUnboundedMailbox toany2stringadd[SingleConsumerOnlyUnboundedMailbox] performed by method any2stringadd in scala.Predef.Definition Classesany2stringadd  def ->[B](y: B): (SingleConsumerOnlyUnboundedMailbox, B) ImplicitThis member is added by an implicit conversion from SingleConsumerOnlyUnboundedMailbox toArrowAssoc[SingleConsumerOnlyUnboundedMailbox] performed by method ArrowAssoc in scala.Predef.Definition ClassesArrowAssocAnnotations@inline()  final def ==(arg0: Any): Boolean Definition ClassesAnyRef → Any  final def asInstanceOf[T0]: T0 Definition ClassesAny  def clone(): AnyRef Attributesprotected[lang] Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()  final def create(owner: Option[ActorRef], system: Option[ActorSystem]): MessageQueue Definition ClassesSingleConsumerOnlyUnboundedMailbox → MailboxType  def ensuring(cond: (SingleConsumerOnlyUnboundedMailbox) => Boolean, msg: => Any): SingleConsumerOnlyUnboundedMailbox ImplicitThis member is added by an implicit conversion from SingleConsumerOnlyUnboundedMailbox toEnsuring[SingleConsumerOnlyUnboundedMailbox] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: (SingleConsumerOnlyUnboundedMailbox) => Boolean): SingleConsumerOnlyUnboundedMailbox ImplicitThis member is added by an implicit conversion from SingleConsumerOnlyUnboundedMailbox toEnsuring[SingleConsumerOnlyUnboundedMailbox] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: Boolean, msg: => Any): SingleConsumerOnlyUnboundedMailbox ImplicitThis member is added by an implicit conversion from SingleConsumerOnlyUnboundedMailbox toEnsuring[SingleConsumerOnlyUnboundedMailbox] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: Boolean): SingleConsumerOnlyUnboundedMailbox ImplicitThis member is added by an implicit conversion from SingleConsumerOnlyUnboundedMailbox toEnsuring[SingleConsumerOnlyUnboundedMailbox] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  final def eq(arg0: AnyRef): Boolean Definition ClassesAnyRef  final def getClass(): Class[_ <: AnyRef] Definition ClassesAnyRef → AnyAnnotations@IntrinsicCandidate() @native()  final def isInstanceOf[T0]: Boolean Definition ClassesAny  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 productElementNames: Iterator[String] Definition ClassesProduct  final def synchronized[T0](arg0: => T0): T0 Definition ClassesAnyRef  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 SingleConsumerOnlyUnboundedMailbox toStringFormat[SingleConsumerOnlyUnboundedMailbox] 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): (SingleConsumerOnlyUnboundedMailbox, B) ImplicitThis member is added by an implicit conversion from SingleConsumerOnlyUnboundedMailbox toArrowAssoc[SingleConsumerOnlyUnboundedMailbox] 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 Serializable Inherited from Product Inherited from Equals Inherited from ProducesMessageQueue[NodeMessageQueue] Inherited from MailboxType Inherited from AnyRef Inherited from Any Inherited by implicit conversion any2stringadd fromSingleConsumerOnlyUnboundedMailbox to any2stringadd[SingleConsumerOnlyUnboundedMailbox] Inherited by implicit conversion StringFormat fromSingleConsumerOnlyUnboundedMailbox to StringFormat[SingleConsumerOnlyUnboundedMailbox] Inherited by implicit conversion Ensuring fromSingleConsumerOnlyUnboundedMailbox to Ensuring[SingleConsumerOnlyUnboundedMailbox] Inherited by implicit conversion ArrowAssoc fromSingleConsumerOnlyUnboundedMailbox to ArrowAssoc[SingleConsumerOnlyUnboundedMailbox] Ungrouped