public static class BoundedPriorityMailbox.MessageQueue extends BoundedBlockingQueue<Envelope> implements BoundedQueueBasedMessageQueue
Constructor and Description |
---|
MessageQueue(int capacity,
java.util.Comparator<Envelope> cmp,
scala.concurrent.duration.Duration pushTimeOut) |
Modifier and Type | Method and Description |
---|---|
scala.concurrent.duration.Duration |
pushTimeOut() |
java.util.concurrent.BlockingQueue<Envelope> |
queue() |
clear, contains, containsAll, drainTo, drainTo, isEmpty, iterator, lock, maxCapacity, offer, offer, peek, poll, poll, put, remainingCapacity, remove, removeAll, retainAll, size, take, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dequeue, enqueue
cleanUp, hasMessages, numberOfMessages
public MessageQueue(int capacity, java.util.Comparator<Envelope> cmp, scala.concurrent.duration.Duration pushTimeOut)
public scala.concurrent.duration.Duration pushTimeOut()
pushTimeOut
in interface BoundedMessageQueueSemantics
public final java.util.concurrent.BlockingQueue<Envelope> queue()
queue
in interface BoundedQueueBasedMessageQueue
queue
in interface QueueBasedMessageQueue