akka.dispatch
Class SingleConsumerOnlyUnboundedMailbox

java.lang.Object
  extended by akka.dispatch.SingleConsumerOnlyUnboundedMailbox
All Implemented Interfaces:
MailboxType, ProducesMessageQueue<NodeMessageQueue>, java.io.Serializable, scala.Equals, scala.Product

public class SingleConsumerOnlyUnboundedMailbox
extends java.lang.Object
implements MailboxType, ProducesMessageQueue<NodeMessageQueue>, scala.Product, scala.Serializable

SingleConsumerOnlyUnboundedMailbox is a high-performance, multiple producer—single consumer, unbounded MailboxType, the only drawback is that you can't have multiple consumers, which rules out using it with BalancingPool (BalancingDispatcher) for instance.

See Also:
Serialized Form

Constructor Summary
SingleConsumerOnlyUnboundedMailbox()
           
SingleConsumerOnlyUnboundedMailbox(ActorSystem.Settings settings, com.typesafe.config.Config config)
           
 
Method Summary
 MessageQueue create(scala.Option<ActorRef> owner, scala.Option<ActorSystem> system)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

SingleConsumerOnlyUnboundedMailbox

public SingleConsumerOnlyUnboundedMailbox()

SingleConsumerOnlyUnboundedMailbox

public SingleConsumerOnlyUnboundedMailbox(ActorSystem.Settings settings,
                                          com.typesafe.config.Config config)
Method Detail

create

public final MessageQueue create(scala.Option<ActorRef> owner,
                                 scala.Option<ActorSystem> system)
Specified by:
create in interface MailboxType