public class BoundedPriorityMailbox extends java.lang.Object implements MailboxType, ProducesMessageQueue<BoundedPriorityMailbox.MessageQueue>, ProducesPushTimeoutSemanticsMailbox
Modifier and Type | Class and Description |
---|---|
static class |
BoundedPriorityMailbox.MessageQueue |
Constructor and Description |
---|
BoundedPriorityMailbox(java.util.Comparator<Envelope> cmp,
int capacity,
scala.concurrent.duration.Duration pushTimeOut) |
Modifier and Type | Method and Description |
---|---|
int |
capacity() |
java.util.Comparator<Envelope> |
cmp() |
MessageQueue |
create(scala.Option<ActorRef> owner,
scala.Option<ActorSystem> system) |
scala.concurrent.duration.Duration |
pushTimeOut() |
public BoundedPriorityMailbox(java.util.Comparator<Envelope> cmp, int capacity, scala.concurrent.duration.Duration pushTimeOut)
public final java.util.Comparator<Envelope> cmp()
public final int capacity()
public final scala.concurrent.duration.Duration pushTimeOut()
pushTimeOut
in interface ProducesPushTimeoutSemanticsMailbox
public final MessageQueue create(scala.Option<ActorRef> owner, scala.Option<ActorSystem> system)
create
in interface MailboxType