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