public static class BoundedDequeBasedMailbox.MessageQueue extends java.util.concurrent.LinkedBlockingDeque<Envelope> implements BoundedDequeBasedMessageQueue
Constructor and Description |
---|
MessageQueue(int capacity,
scala.concurrent.duration.FiniteDuration pushTimeOut) |
Modifier and Type | Method and Description |
---|---|
scala.concurrent.duration.FiniteDuration |
pushTimeOut() |
BoundedDequeBasedMailbox.MessageQueue |
queue() |
add, addFirst, addLast, clear, contains, descendingIterator, drainTo, drainTo, element, getFirst, getLast, iterator, offer, offer, offerFirst, offerFirst, offerLast, offerLast, peek, peekFirst, peekLast, poll, poll, pollFirst, pollFirst, pollLast, pollLast, pop, push, put, putFirst, putLast, remainingCapacity, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size, spliterator, take, takeFirst, takeLast, toArray, toArray, toString
containsAll, isEmpty, removeAll, retainAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dequeue, enqueue, enqueueFirst
cleanUp, hasMessages, numberOfMessages
public MessageQueue(int capacity, scala.concurrent.duration.FiniteDuration pushTimeOut)
public scala.concurrent.duration.FiniteDuration pushTimeOut()
pushTimeOut
in interface BoundedDequeBasedMessageQueue
pushTimeOut
in interface BoundedMessageQueueSemantics
public final BoundedDequeBasedMailbox.MessageQueue queue()
queue
in interface BoundedDequeBasedMessageQueue
queue
in interface DequeBasedMessageQueue
queue
in interface QueueBasedMessageQueue