public final class SingleConsumerOnlyUnboundedMailbox extends java.lang.Object implements MailboxType, ProducesMessageQueue<NodeMessageQueue>, scala.Product, scala.Serializable
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.
Constructor and Description |
---|
SingleConsumerOnlyUnboundedMailbox() |
SingleConsumerOnlyUnboundedMailbox(ActorSystem.Settings settings,
com.typesafe.config.Config config) |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(java.lang.Object that) |
MessageQueue |
create(scala.Option<ActorRef> owner,
scala.Option<ActorSystem> system) |
abstract static boolean |
equals(java.lang.Object that) |
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SingleConsumerOnlyUnboundedMailbox()
public SingleConsumerOnlyUnboundedMailbox(ActorSystem.Settings settings, com.typesafe.config.Config config)
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public final MessageQueue create(scala.Option<ActorRef> owner, scala.Option<ActorSystem> system)
create
in interface MailboxType