akka.dispatch
Class SingleConsumerOnlyUnboundedMailbox
java.lang.Object
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 BalancingDispatcher for instance.
- See Also:
- Serialized Form
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 |
SingleConsumerOnlyUnboundedMailbox
public SingleConsumerOnlyUnboundedMailbox()
SingleConsumerOnlyUnboundedMailbox
public SingleConsumerOnlyUnboundedMailbox(ActorSystem.Settings settings,
com.typesafe.config.Config config)
create
public final MessageQueue create(scala.Option<ActorRef> owner,
scala.Option<ActorSystem> system)
- Specified by:
create
in interface MailboxType