akka.dispatch
Class BoundedPriorityMailbox.MessageQueue

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractQueue<E>
          extended by akka.util.BoundedBlockingQueue<Envelope>
              extended by akka.dispatch.BoundedPriorityMailbox.MessageQueue
All Implemented Interfaces:
BoundedMessageQueueSemantics, BoundedQueueBasedMessageQueue, MessageQueue, MultipleConsumerSemantics, QueueBasedMessageQueue, java.lang.Iterable<Envelope>, java.util.Collection<Envelope>, java.util.concurrent.BlockingQueue<Envelope>, java.util.Queue<Envelope>
Enclosing class:
BoundedPriorityMailbox

public static class BoundedPriorityMailbox.MessageQueue
extends BoundedBlockingQueue<Envelope>
implements BoundedQueueBasedMessageQueue


Constructor Summary
BoundedPriorityMailbox.MessageQueue(int capacity, java.util.Comparator<Envelope> cmp, scala.concurrent.duration.Duration pushTimeOut)
           
 
Method Summary
 scala.concurrent.duration.Duration pushTimeOut()
           
 java.util.concurrent.BlockingQueue<Envelope> queue()
           
 
Methods inherited from class akka.util.BoundedBlockingQueue
clear, contains, containsAll, drainTo, drainTo, isEmpty, iterator, lock, maxCapacity, offer, offer, peek, poll, poll, put, remainingCapacity, remove, removeAll, retainAll, size, take, toArray, toArray
 
Methods inherited from class java.util.AbstractQueue
add, addAll, element, remove
 
Methods inherited from class java.util.AbstractCollection
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface akka.dispatch.BoundedQueueBasedMessageQueue
dequeue, enqueue
 
Methods inherited from interface akka.dispatch.QueueBasedMessageQueue
cleanUp, hasMessages, numberOfMessages
 
Methods inherited from interface java.util.concurrent.BlockingQueue
add
 
Methods inherited from interface java.util.Queue
element, remove
 
Methods inherited from interface java.util.Collection
addAll, equals, hashCode
 

Constructor Detail

BoundedPriorityMailbox.MessageQueue

public BoundedPriorityMailbox.MessageQueue(int capacity,
                                           java.util.Comparator<Envelope> cmp,
                                           scala.concurrent.duration.Duration pushTimeOut)
Method Detail

pushTimeOut

public scala.concurrent.duration.Duration pushTimeOut()
Specified by:
pushTimeOut in interface BoundedMessageQueueSemantics

queue

public final java.util.concurrent.BlockingQueue<Envelope> queue()
Specified by:
queue in interface BoundedQueueBasedMessageQueue
Specified by:
queue in interface QueueBasedMessageQueue